]> git.lizzy.rs Git - rust.git/blob - tests/ui/impl-trait/extra-item.rs
Auto merge of #106171 - compiler-errors:consolidate-extract_callable_info, r=estebank...
[rust.git] / tests / 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() {}