Skip to content

Commit 51cec58

Browse files
committed
fix a comment
1 parent 4a90a58 commit 51cec58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/rustc_mir/src/transform/promote_consts.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ impl<'tcx> Validator<'_, 'tcx> {
687687
self.validate_place(place_simplified)?;
688688

689689
// Check that the reference is fine (using the original place!).
690-
// (Needs to come after `validate_local` to avoid ICEs.)
690+
// (Needs to come after `validate_place` to avoid ICEs.)
691691
self.validate_ref(*kind, place)?;
692692
}
693693

0 commit comments

Comments
 (0)