Skip to content

Commit

Permalink
Schedule the demolition of IsNotPromotable
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Mar 1, 2019
1 parent e67050e commit 8c16507
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/librustc_mir/transform/qualify_consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8c16507

Please sign in to comment.