2019-12-03 21:01:42 -06:00
|
|
|
error[E0034]: multiple applicable items in scope
|
2019-12-04 00:25:15 -06:00
|
|
|
--> $DIR/issue-65634-raw-ident-suggestion.rs:21:13
|
2019-12-03 21:01:42 -06:00
|
|
|
|
|
|
|
|
LL | r#fn {}.r#struct();
|
|
|
|
| ^^^^^^^^ multiple `r#struct` found
|
|
|
|
|
|
|
|
|
note: candidate #1 is defined in an impl of the trait `async` for the type `r#fn`
|
2019-12-04 00:25:15 -06:00
|
|
|
--> $DIR/issue-65634-raw-ident-suggestion.rs:4:5
|
2019-12-03 21:01:42 -06:00
|
|
|
|
|
|
|
|
LL | fn r#struct(&self) {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
note: candidate #2 is defined in an impl of the trait `await` for the type `r#fn`
|
2019-12-04 00:25:15 -06:00
|
|
|
--> $DIR/issue-65634-raw-ident-suggestion.rs:10:5
|
2019-12-03 21:01:42 -06:00
|
|
|
|
|
|
|
|
LL | fn r#struct(&self) {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2019-12-04 00:19:18 -06:00
|
|
|
help: disambiguate the method call for candidate #1
|
|
|
|
|
|
|
|
|
LL | async::r#struct(&r#fn {});
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
help: disambiguate the method call for candidate #2
|
|
|
|
|
|
|
|
|
LL | 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`.
|