diagnostics: rust forgets needed raw identifier in item paths in suggestion #106841
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
D-papercut
Diagnostics: An error or lint that needs small tweaks.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code:
tests/ui/issues/issue-65634-raw-ident-suggestion.rs
The current output is:
This will not compile because we need to suggest
r#await
instead ofawait
Ideally the output should look like:
The text was updated successfully, but these errors were encountered: