File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/librustc_mir/transform Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -307,9 +307,9 @@ trait Qualif {
307307
308308/// Constant containing interior mutability (`UnsafeCell<T>`).
309309/// This must be ruled out to make sure that evaluating the constant at compile-time
310- /// and run-time would produce the same result. In particular, promotion of temporaries
311- /// must not change program behavior; if the promoted could be written to, that would
312- /// be a problem.
310+ /// and at *any point* during the run-time would produce the same result. In particular,
311+ /// promotion of temporaries must not change program behavior; if the promoted could be
312+ /// written to, that would be a problem.
313313struct HasMutInterior ;
314314
315315impl Qualif for HasMutInterior {
You can’t perform that action at this time.
0 commit comments