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