fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1// run-rustfix 2 3pub fn foo<T: std::cmp::PartialEq>(s: &[T], t: &[T]) { 4 let _ = s == t; //~ ERROR binary operation `==` cannot be applied to type `&[T]` 5} 6 7fn main() {}
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
1// run-rustfix 2 3pub fn foo<T: std::cmp::PartialEq>(s: &[T], t: &[T]) { 4 let _ = s == t; //~ ERROR binary operation `==` cannot be applied to type `&[T]` 5} 6 7fn main() {}