We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
IsNotPromotable
1 parent e67050e commit 8c16507Copy full SHA for 8c16507
src/librustc_mir/transform/qualify_consts.rs
@@ -499,6 +499,8 @@ impl Qualif for IsNotConst {
499
500
// Refers to temporaries which cannot be promoted as
501
// 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`.
504
struct IsNotPromotable;
505
506
impl Qualif for IsNotPromotable {
0 commit comments