about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2019-03-01 17:10:29 +0100
committerOliver Scherer <github35764891676564198441@oli-obk.de>2019-03-01 17:10:29 +0100
commit8c16507045a76ef616533ec29626f6ce6be40a6c (patch)
tree461657d8d10a7aecc20d4b4e3f16504ad639bba6
parente67050e8b6cbf48d041eb5f3993d620402073a7a (diff)
downloadrust-8c16507045a76ef616533ec29626f6ce6be40a6c.tar.gz
rust-8c16507045a76ef616533ec29626f6ce6be40a6c.zip
Schedule the demolition of `IsNotPromotable`
-rw-r--r--src/librustc_mir/transform/qualify_consts.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustc_mir/transform/qualify_consts.rs b/src/librustc_mir/transform/qualify_consts.rs
index 73ac68c4ac3..f7b7754cea7 100644
--- a/src/librustc_mir/transform/qualify_consts.rs
+++ b/src/librustc_mir/transform/qualify_consts.rs
@@ -499,6 +499,8 @@ impl Qualif for IsNotConst {
 
 // Refers to temporaries which cannot be promoted as
 // promote_consts decided they weren't simple enough.
+// FIXME(oli-obk,eddyb): Remove this flag entirely and
+// solely process this information via `IsNotConst`.
 struct IsNotPromotable;
 
 impl Qualif for IsNotPromotable {