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