1 error[E0277]: the trait bound `UnconstDrop: Drop` is not satisfied
2 --> $DIR/const-block-const-bound.rs:14:11
5 | - ^^^^^^^^^^^ the trait `Drop` is not implemented for `UnconstDrop`
7 | required by a bound introduced by this call
9 note: required by a bound in `f`
10 --> $DIR/const-block-const-bound.rs:4:15
12 LL | const fn f<T: ~const Drop>(x: T) {}
13 | ^^^^^^^^^^^ required by this bound in `f`
14 help: consider introducing a `where` bound, but there might be an alternative better way to express this requirement
16 LL | fn main() where UnconstDrop: Drop {
17 | +++++++++++++++++++++++
19 error: aborting due to previous error
21 For more information about this error, try `rustc --explain E0277`.