We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
LiveVar
1 parent 94697ba commit af3ff10Copy full SHA for af3ff10
src/librustc_mir/borrow_check/nll/type_check/liveness/liveness_map.rs
@@ -93,5 +93,10 @@ impl NllLivenessMap {
93
}
94
95
96
-/// Index given to each local variable whose type contains a region.
97
-newtype_index!(LiveVar);
+/// Index given to each local variable for which we need to
+/// compute liveness information. For many locals, we are able to
98
+/// skip liveness information: for example, those variables whose
99
+/// types contain no regions.
100
+newtype_index!(
101
+ LiveVar
102
+);
0 commit comments