Skip to content

Commit cc66b17

Browse files
committed
Update comment
1 parent 49025f3 commit cc66b17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/transform/qualify_consts.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ impl<'a, 'tcx> Checker<'a, 'tcx> {
817817
}
818818
}
819819

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

0 commit comments

Comments
 (0)