fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
712 B18 linesraw
1error[E0599]: no function or associated item named `deserialize` found for struct `A` in the current scope
2  --> $DIR/issue-87932.rs:13:8
3   |
4LL | pub struct A {}
5   | ------------ function or associated item `deserialize` not found for this struct
6...
7LL |     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
11help: the following trait is implemented but not in scope; perhaps add a `use` for it:
12   |
13LL + use <crate::A as issue_87932_a::Deserialize>::deserialize::_a::Deserialize;
14   |
15
16error: aborting due to previous error
17
18For more information about this error, try `rustc --explain E0599`.