blob: 06d60cbeae65f19534e5fd621de0d136dcd280b0 [file] [log] [blame]
//@ run-rustfix
pub fn foo<T>(s: &[T], t: &[T]) {
let _ = s == t; //~ ERROR binary operation `==` cannot be applied to type `&[T]`
}
fn main() {}