1 error[E0369]: binary operation `==` cannot be applied to type `&[T]`
2 --> $DIR/missing-trait-bound-for-op.rs:4:15
9 help: consider restricting type parameter `T`
11 LL | pub fn foo<T: std::cmp::PartialEq>(s: &[T], t: &[T]) {
12 | +++++++++++++++++++++
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0369`.