diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-04-05 17:00:21 +0200 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-04-07 08:02:48 +0200 |
| commit | 54ea7f726ed2d04460687c82a56a54ec8c7e96d7 (patch) | |
| tree | 9ead905804ff6a6f22b572d6aff7b06fabde7f52 | |
| parent | 65a45dd99dac63a2b0296042726ff61fe2399353 (diff) | |
Update comment
| -rw-r--r-- | src/librustc_mir/transform/qualify_consts.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/transform/qualify_consts.rs b/src/librustc_mir/transform/qualify_consts.rs index 3034740fab5..1faa9ad0d0d 100644 --- a/src/librustc_mir/transform/qualify_consts.rs +++ b/src/librustc_mir/transform/qualify_consts.rs @@ -817,7 +817,7 @@ impl<'a, 'tcx> Checker<'a, 'tcx> { } } - // Ensure the `IsNotPromotable` qualification is preserved. + // Ensure the `IsNotConst` qualification is preserved. // NOTE(eddyb) this is actually unnecessary right now, as // we never replace the local's qualif, but we might in // the future, and so it serves to catch changes that unset |
