error: `~const` is not allowed here --> $DIR/const-drop.rs:67:38 | LL | pub struct ConstDropWithBound(pub core::marker::PhantomData); | ^^^^^^ | = note: this item cannot have `~const` trait bounds error: aborting due to 1 previous error