rust/tests/ui/issues/auxiliary/issue-2414-a.rs

13 lines
140 B
Rust

#![crate_name="a"]
#![crate_type = "lib"]
type t1 = usize;
trait foo {
fn foo(&self);
}
impl foo for String {
fn foo(&self) {}
}