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 `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 `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
|
|
|
|
|
|
|
|
LL | async::r#struct(&r#fn {});
|
2021-06-21 19:07:19 -07:00
|
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~
|
2023-02-21 14:11:08 -07:00
|
|
|
help: disambiguate the method for candidate #2
|
2019-12-03 22:19:18 -08:00
|
|
|
|
|
|
|
|
LL | await::r#struct(&r#fn {});
|
2021-06-21 19:07:19 -07:00
|
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~
|
2019-12-03 19:01:42 -08:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2019-12-03 19:01:42 -08:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0034`.
|