summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/test.rs
blob: 72fc66f740b93a8dc67488bdf0c5ca50cd2df658 (plain)
1
2
3
4
5
6
#[allow(non_camel_case_types)]
trait foo { fn foo(&self); }

impl isize for usize { fn foo(&self) {} } //~ ERROR trait

fn main() {}