]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/test.rs
Auto merge of #101017 - JohnTitor:rollup-73f2fhb, r=JohnTitor
[rust.git] / src / test / ui / traits / test.rs
1 #[allow(non_camel_case_types)]
2 trait foo { fn foo(&self); }
3
4 impl isize for usize { fn foo(&self) {} } //~ ERROR trait
5
6 fn main() {}