]> git.proxmox.com Git - rustc.git/blob - tests/ui/rust-2018/uniform-paths/issue-87932.stderr
New upstream version 1.76.0+dfsg1
[rustc.git] / tests / ui / rust-2018 / uniform-paths / issue-87932.stderr
1 error[E0599]: no function or associated item named `deserialize` found for struct `A` in the current scope
2 --> $DIR/issue-87932.rs:13:8
3 |
4 LL | pub struct A {}
5 | ------------ function or associated item `deserialize` not found for this struct
6 ...
7 LL | A::deserialize();
8 | ^^^^^^^^^^^ function or associated item not found in `A`
9 |
10 = help: items from traits can only be used if the trait is in scope
11 help: the following trait is implemented but not in scope; perhaps add a `use` for it:
12 |
13 LL + use <crate::A as issue_87932_a::Deserialize>::deserialize::_a::Deserialize;
14 |
15
16 error: aborting due to 1 previous error
17
18 For more information about this error, try `rustc --explain E0599`.