fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `T: Bar<N>` is not satisfied 2 --> $DIR/ct-var-in-collect_all_mismatches.rs:9:14 3 | 4LL | self.unsatisfied() 5 | ^^^^^^^^^^^ the trait `Bar<N>` is not implemented for `T` 6 | 7note: required by a bound in `Foo::<T, N>::unsatisfied` 8 --> $DIR/ct-var-in-collect_all_mismatches.rs:15:12 9 | 10LL | fn unsatisfied(self) 11 | ----------- required by a bound in this associated function 12LL | where 13LL | T: Bar<N>, 14 | ^^^^^^ required by this bound in `Foo::<T, N>::unsatisfied` 15help: consider restricting type parameter `T` 16 | 17LL | impl<T: Bar<N>, const N: usize> Foo<T, N> { 18 | ++++++++ 19 20error: aborting due to previous error 21 22For more information about this error, try `rustc --explain E0277`.