]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/extra-item.rs
Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27
[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() {}