]> git.proxmox.com Git - rustc.git/blob - tests/ui/rust-2018/uniform-paths/issue-87932.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / rust-2018 / uniform-paths / issue-87932.rs
1 // edition:2018
2 // aux-crate:issue_87932_a=issue-87932-a.rs
3
4 pub struct A {}
5
6 impl issue_87932_a::Deserialize for A {
7 fn deserialize() {
8 extern crate issue_87932_a as _a;
9 }
10 }
11
12 fn main() {
13 A::deserialize();
14 //~^ ERROR no function or associated item named `deserialize` found for struct `A`
15 }