summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/auxiliary/issue-2414-a.rs
blob: b90ab32ddc4ad64788018bbdb25601f464c74eb4 (plain)
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) {}
}