rust/tests/ui/traits/test.rs
2023-01-11 09:32:08 +00:00

7 lines
133 B
Rust

#[allow(non_camel_case_types)]
trait foo { fn foo(&self); }
impl isize for usize { fn foo(&self) {} } //~ ERROR trait
fn main() {}