Skip to content

Commit 0827f25

Browse files
committed
fixup! Inject compiler_builtins during postprocessing rather than via AST
1 parent 5f0ec4c commit 0827f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_metadata/src/creader.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,7 @@ impl<'a, 'tcx> CrateLoader<'a, 'tcx> {
11421142
}
11431143
}
11441144

1145-
// Failure to resolve `compiler_builtins` is an error.
1145+
// `compiler_builtins` is not yet in the graph; inject it. Error on resolution failure.
11461146
let Some(cnum) = self.resolve_crate(
11471147
sym::compiler_builtins,
11481148
krate.spans.inner_span.shrink_to_lo(),

0 commit comments

Comments
 (0)