]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/extra-item.rs
Merge commit 'd556c56f792756dd7cfec742b9f2e07612dc10f4' into sync_cg_clif-2021-02-01
[rust.git] / src / test / ui / impl-trait / extra-item.rs
1 // aux-build:extra-item.rs
2 // compile-flags:--extern extra_item
3
4 struct S;
5
6 impl extra_item::MyTrait for S {
7     fn extra() {} //~ ERROR method `extra` is not a member of trait `extra_item::MyTrait`
8 }
9
10 fn main() {}