Skip to content
Permalink
Browse files

Schedule the demolition of `IsNotPromotable`

  • Loading branch information...
oli-obk committed Mar 1, 2019
1 parent e67050e commit 8c16507045a76ef616533ec29626f6ce6be40a6c
Showing with 2 additions and 0 deletions.
  1. +2 −0 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 {

0 comments on commit 8c16507

Please sign in to comment.
You can’t perform that action at this time.