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.
1 parent f2b49d9 commit b823cc1Copy full SHA for b823cc1
src/librustc_mir/transform/qualify_consts.rs
@@ -618,7 +618,7 @@ impl ConstCx<'_, 'tcx> {
618
}
619
620
621
-/// Checks MIR for const-correctness, using `ConstCx`
+/// Checks MIR for being admissible as a compile-time constant, using `ConstCx`
622
/// for value qualifications, and accumulates writes of
623
/// rvalue/call results to locals, in `local_qualif`.
624
/// It also records candidates for promotion in `promotion_candidates`,
0 commit comments