fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `T: ~const Bar` is not satisfied 2 --> $DIR/trait-where-clause-const.rs:21:5 3 | 4LL | T::b(); 5 | ^ the trait `Bar` is not implemented for `T` 6 | 7note: required by a bound in `Foo::b` 8 --> $DIR/trait-where-clause-const.rs:15:24 9 | 10LL | fn b() where Self: ~const Bar; 11 | ^^^^^^^^^^ required by this bound in `Foo::b` 12help: consider further restricting this bound 13 | 14LL | const fn test1<T: ~const Foo + Bar + Bar>() { 15 | +++++ 16 17error[E0277]: the trait bound `T: ~const Bar` is not satisfied 18 --> $DIR/trait-where-clause-const.rs:23:12 19 | 20LL | T::c::<T>(); 21 | ^ the trait `Bar` is not implemented for `T` 22 | 23note: required by a bound in `Foo::c` 24 --> $DIR/trait-where-clause-const.rs:16:13 25 | 26LL | fn c<T: ~const Bar>(); 27 | ^^^^^^^^^^ required by this bound in `Foo::c` 28help: consider further restricting this bound 29 | 30LL | const fn test1<T: ~const Foo + Bar + Bar>() { 31 | +++++ 32 33error: aborting due to 2 previous errors 34 35For more information about this error, try `rustc --explain E0277`.