1 error[E0277]: the trait bound `UnconstDrop: ~const Drop` is not satisfied
2 --> $DIR/const-block-const-bound.rs:18:11
5 | - ^^^^^^^^^^^ expected an implementor of trait `~const Drop`
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 borrowing here
18 LL | f(&mut UnconstDrop);
21 error[E0277]: the trait bound `NonDrop: ~const Drop` is not satisfied
22 --> $DIR/const-block-const-bound.rs:20:11
25 | - ^^^^^^^ expected an implementor of trait `~const Drop`
27 | required by a bound introduced by this call
29 note: required by a bound in `f`
30 --> $DIR/const-block-const-bound.rs:4:15
32 LL | const fn f<T: ~const Drop>(x: T) {}
33 | ^^^^^^^^^^^ required by this bound in `f`
34 help: consider borrowing here
41 error: aborting due to 2 previous errors
43 For more information about this error, try `rustc --explain E0277`.