summaryrefslogtreecommitdiffstats
path: root/src/test/ui/impl-trait/extra-item.rs
blob: d82237ccecc7ddd14dad8eaa3298a6e265f9c10c (plain)
1
2
3
4
5
6
7
8
9
10
// aux-build:extra-item.rs
// compile-flags:--extern extra_item

struct S;

impl extra_item::MyTrait for S {
    fn extra() {} //~ ERROR method `extra` is not a member of trait `extra_item::MyTrait`
}

fn main() {}