about summary refs log tree commit diff
path: root/tests/ui/rust-2018/uniform-paths/issue-87932.rs
blob: d24d4b8b4820b4902cac02ea10dd69c8da0024d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//@ edition:2018
//@ aux-crate:issue_87932_a=issue-87932-a.rs

pub struct A {}

impl issue_87932_a::Deserialize for A {
    fn deserialize() {
        extern crate issue_87932_a as _a;
    }
}

fn main() {
    A::deserialize();
    //~^ ERROR no function or associated item named `deserialize` found for struct `A`
}