Skip to content

Commit c168fba

Browse files
committed
Comment untracked_crate.
1 parent 8fc3deb commit c168fba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/rustc_middle/src/ty/context.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1077,6 +1077,8 @@ pub struct GlobalCtxt<'tcx> {
10771077
/// Output of the resolver.
10781078
pub(crate) untracked_resolutions: ty::ResolverOutputs,
10791079
untracked_resolver_for_lowering: Steal<ty::ResolverAstLowering>,
1080+
/// The entire crate as AST. This field serves as the input for the hir_crate query,
1081+
/// which lowers it from AST to HIR. It must not be read or used by anything else.
10801082
pub untracked_crate: Steal<Lrc<ast::Crate>>,
10811083

10821084
/// This provides access to the incremental compilation on-disk cache for query results.

0 commit comments

Comments
 (0)