fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error[E0277]: the trait bound `Self: std::cmp::Eq` is not satisfied 2 --> $DIR/wf-trait-default-fn-where-clause.rs:11:5 3 | 4LL | trait Bar<T:Eq+?Sized> { } 5 | ---------------------- required by `Bar` 6... 7LL | fn bar<A>(&self) where A: Bar<Self> { 8 | ^ - help: consider further restricting `Self`: `, Self: std::cmp::Eq` 9 | _____| 10 | | 11LL | | 12LL | | // 13LL | | // Here, Eq ought to be implemented. 14LL | | } 15 | |_____^ the trait `std::cmp::Eq` is not implemented for `Self` 16 17error: aborting due to previous error 18 19For more information about this error, try `rustc --explain E0277`.