2018-12-16 22:21:47 -05:00
|
|
|
#[allow(non_camel_case_types)]
|
2013-03-12 19:32:14 -07:00
|
|
|
trait foo { fn foo(&self); }
|
2012-02-10 13:31:33 +01:00
|
|
|
|
2015-01-08 22:02:42 +11:00
|
|
|
impl isize for usize { fn foo(&self) {} } //~ ERROR trait
|
2012-02-10 13:31:33 +01:00
|
|
|
|
|
|
|
fn main() {}
|