fork/rust

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

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

master
952 B28 linesraw
1error[E0034]: multiple applicable items in scope
2  --> $DIR/issue-65634-raw-ident-suggestion.rs:24:13
3   |
4LL |     r#fn {}.r#struct();
5   |             ^^^^^^^^ multiple `r#struct` found
6   |
7note: candidate #1 is defined in an impl of the trait `r#async` for the type `r#fn`
8  --> $DIR/issue-65634-raw-ident-suggestion.rs:7:5
9   |
10LL |     fn r#struct(&self) {
11   |     ^^^^^^^^^^^^^^^^^^
12note: candidate #2 is defined in an impl of the trait `r#await` for the type `r#fn`
13  --> $DIR/issue-65634-raw-ident-suggestion.rs:13:5
14   |
15LL |     fn r#struct(&self) {
16   |     ^^^^^^^^^^^^^^^^^^
17help: disambiguate the method for candidate #1
18   |
19LL |     r#async::r#struct(&r#fn {});
20   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
21help: disambiguate the method for candidate #2
22   |
23LL |     r#await::r#struct(&r#fn {});
24   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
25
26error: aborting due to previous error
27
28For more information about this error, try `rustc --explain E0034`.