blob: bea1b91558646a3d48283c052ca6b5a55fefa8cb [file] [log] [blame] [edit]
pub fn foo<T>(s: S<T>, t: S<T>) {
let _ = s == t; //~ ERROR binary operation `==` cannot be applied to type `S<T>`
}
struct S<T>(T);
fn main() {}