Use heuristics to determine whethersuggesting raw identifiers is appropriate. Account for raw identifiers when printing a path in a `use` suggestion.
15 lines
343 B
Plaintext
15 lines
343 B
Plaintext
error: expected identifier, found keyword `let`
|
|
--> $DIR/removed-syntax-field-let.rs:2:5
|
|
|
|
|
LL | let foo: (),
|
|
| ^^^ expected identifier, found keyword
|
|
|
|
error: expected `:`, found `foo`
|
|
--> $DIR/removed-syntax-field-let.rs:2:9
|
|
|
|
|
LL | let foo: (),
|
|
| ^^^ expected `:`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|