1 error[E0277]: the trait bound `S: ~const Foo` is not satisfied
2 --> $DIR/super-traits-fail.rs:15:12
4 LL | impl const Bar for S {}
5 | ^^^ the trait `~const Foo` is not implemented for `S`
7 note: the trait `Foo` is implemented for `S`, but that implementation is not `const`
8 --> $DIR/super-traits-fail.rs:15:12
10 LL | impl const Bar for S {}
12 note: required by a bound in `Bar`
13 --> $DIR/super-traits-fail.rs:8:12
15 LL | trait Bar: ~const Foo {}
16 | ^^^^^^^^^^ required by this bound in `Bar`
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0277`.