Skip to content

Commit dcd5bb2

Browse files
oli-obkpietroalbini
authored andcommitted
Update comment
1 parent 2bc43d4 commit dcd5bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/transform/qualify_consts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ impl<'a, 'tcx> Checker<'a, 'tcx> {
802802
}
803803
}
804804

805-
// Ensure the `IsNotPromotable` qualification is preserved.
805+
// Ensure the `IsNotConst` qualification is preserved.
806806
// NOTE(eddyb) this is actually unnecessary right now, as
807807
// we never replace the local's qualif, but we might in
808808
// the future, and so it serves to catch changes that unset

0 commit comments

Comments
 (0)