summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-56175.rs
blob: ca1d0d4310ae9f39015ce91d8f0338bc7ad2af01 (plain)
1
2
3
4
5
6
7
8
9
// edition:2018
// aux-crate:reexported_trait=reexported-trait.rs

fn main() {
    reexported_trait::FooStruct.trait_method();
    //~^ ERROR
    reexported_trait::FooStruct.trait_method_b();
    //~^ ERROR
}