1 error[E0369]: binary operation `==` cannot be applied to type `S<T>`
2 --> $DIR/invalid-bin-op.rs:2:15
9 note: an implementation of `PartialEq<_>` might be missing for `S<T>`
10 --> $DIR/invalid-bin-op.rs:5:1
13 | ^^^^^^^^^^^^^^^ must implement `PartialEq<_>`
14 = note: the trait `std::cmp::PartialEq` is not implemented for `S<T>`
15 help: consider annotating `S<T>` with `#[derive(PartialEq)]`
17 LL | #[derive(PartialEq)]
20 error: aborting due to previous error
22 For more information about this error, try `rustc --explain E0369`.