mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
fix typo
This commit is contained in:
parent
96e3c2c1ac
commit
758f642c29
@ -774,7 +774,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
|
|||||||
let (current_root, parent_root) =
|
let (current_root, parent_root) =
|
||||||
if self.tcx.sess.opts.unstable_opts.maximal_hir_to_mir_coverage {
|
if self.tcx.sess.opts.unstable_opts.maximal_hir_to_mir_coverage {
|
||||||
// Some consumers of rustc need to map MIR locations back to HIR nodes. Currently
|
// Some consumers of rustc need to map MIR locations back to HIR nodes. Currently
|
||||||
// the the only part of rustc that tracks MIR -> HIR is the
|
// the only part of rustc that tracks MIR -> HIR is the
|
||||||
// `SourceScopeLocalData::lint_root` field that tracks lint levels for MIR
|
// `SourceScopeLocalData::lint_root` field that tracks lint levels for MIR
|
||||||
// locations. Normally the number of source scopes is limited to the set of nodes
|
// locations. Normally the number of source scopes is limited to the set of nodes
|
||||||
// with lint annotations. The -Zmaximal-hir-to-mir-coverage flag changes this
|
// with lint annotations. The -Zmaximal-hir-to-mir-coverage flag changes this
|
||||||
|
Loading…
Reference in New Issue
Block a user