2019-12-03 21:01:42 -06:00
|
|
|
error[E0034]: multiple applicable items in scope
|
2023-01-16 01:09:05 -06:00
|
|
|
--> $DIR/issue-65634-raw-ident-suggestion.rs:24:13
|
2019-12-03 21:01:42 -06:00
|
|
|
|
|
|
|
|
LL | r#fn {}.r#struct();
|
|
|
|
| ^^^^^^^^ multiple `r#struct` found
|
|
|
|
|
|
2023-01-16 01:09:05 -06:00
|
|
|
note: candidate #1 is defined in an impl of the trait `r#async` for the type `r#fn`
|
|
|
|
--> $DIR/issue-65634-raw-ident-suggestion.rs:7:5
|
2019-12-03 21:01:42 -06:00
|
|
|
|
|
|
|
|
LL | fn r#struct(&self) {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2023-01-16 01:09:05 -06:00
|
|
|
note: candidate #2 is defined in an impl of the trait `r#await` for the type `r#fn`
|
|
|
|
--> $DIR/issue-65634-raw-ident-suggestion.rs:13:5
|
2019-12-03 21:01:42 -06:00
|
|
|
|
|
|
|
|
LL | fn r#struct(&self) {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2023-02-21 15:11:08 -06:00
|
|
|
help: disambiguate the method for candidate #1
|
2019-12-04 00:19:18 -06:00
|
|
|
|
|
2023-01-16 01:09:05 -06:00
|
|
|
LL | r#async::r#struct(&r#fn {});
|
|
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2023-02-21 15:11:08 -06:00
|
|
|
help: disambiguate the method for candidate #2
|
2019-12-04 00:19:18 -06:00
|
|
|
|
|
2023-01-16 01:09:05 -06:00
|
|
|
LL | r#await::r#struct(&r#fn {});
|
|
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2019-12-03 21:01:42 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0034`.
|