]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/invalid-bin-op.rs
Override rustc version in ui and mir-opt tests to get stable hashes
[rust.git] / src / test / ui / suggestions / invalid-bin-op.rs
1 pub fn foo<T>(s: S<T>, t: S<T>) {
2     let _ = s == t; //~ ERROR binary operation `==` cannot be applied to type `S<T>`
3 }
4
5 struct S<T>(T);
6
7 fn main() {}