blob: daaba08d7dde961d6151670cafaf91b4d8414e99 (
plain)
1
2
3
4
5
6
7
8
9
10
|
error: `~const` is not allowed here
--> $DIR/const-drop.rs:67:38
|
LL | pub struct ConstDropWithBound<T: ~const SomeTrait>(pub core::marker::PhantomData<T>);
| ^^^^^^
|
= note: this item cannot have `~const` trait bounds
error: aborting due to 1 previous error
|