1 error[E0277]: the trait bound `NonConstAdd: ~const Add` is not satisfied
2 --> $DIR/assoc-type.rs:18:16
4 LL | type Bar = NonConstAdd;
5 | ^^^^^^^^^^^ no implementation for `NonConstAdd + NonConstAdd`
7 = help: the trait `~const Add` is not implemented for `NonConstAdd`
8 note: required by a bound in `Foo::Bar`
9 --> $DIR/assoc-type.rs:14:15
11 LL | type Bar: ~const std::ops::Add;
12 | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Foo::Bar`
13 help: consider introducing a `where` bound, but there might be an alternative better way to express this requirement
15 LL | impl const Foo for NonConstAdd where NonConstAdd: ~const Add {
16 | +++++++++++++++++++++++++++++
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0277`.