1 2 3 4 5 6 7 8 9 10 11 12
#![crate_name="a"] #![crate_type = "lib"] type t1 = usize; trait foo { fn foo(&self); } impl foo for String { fn foo(&self) {} }