1 error[E0277]: the trait bound `T: ~const Sup` is not satisfied
2 --> $DIR/specializing-constness-2.rs:27:5
5 | ^^^^^^^^^^^^^ the trait `~const Sup` is not implemented for `T`
7 note: required for `T` to implement `~const A`
8 --> $DIR/specializing-constness-2.rs:20:37
10 LL | impl<T: Default + ~const Sup> const A for T {
12 help: consider further restricting this bound
14 LL | const fn generic<T: Default + ~const Sup>() {
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0277`.