Skip to content

Commit 8c16507

Browse files
committed
Schedule the demolition of IsNotPromotable
1 parent e67050e commit 8c16507

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc_mir/transform/qualify_consts.rs

+2
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,8 @@ impl Qualif for IsNotConst {
499499

500500
// Refers to temporaries which cannot be promoted as
501501
// promote_consts decided they weren't simple enough.
502+
// FIXME(oli-obk,eddyb): Remove this flag entirely and
503+
// solely process this information via `IsNotConst`.
502504
struct IsNotPromotable;
503505

504506
impl Qualif for IsNotPromotable {

0 commit comments

Comments
 (0)