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) {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
= help: to disambiguate the method call, write `async::r#struct(r#fn {})` instead
|
|
|
|
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) {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
= help: to disambiguate the method call, write `await::r#struct(r#fn {})` instead
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0034`.
|