2018-10-20 23:36:17 +03:00
|
|
|
error: expected identifier, found keyword `let`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/removed-syntax-field-let.rs:4:5
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
|
|
|
LL | let foo: (),
|
|
|
|
| ^^^ expected identifier, found keyword
|
2018-12-30 11:52:15 -08:00
|
|
|
help: you can escape reserved keywords to use them as identifiers
|
|
|
|
|
|
|
|
|
LL | r#let foo: (),
|
|
|
|
| ^^^^^
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
|
|
error: expected `:`, found `foo`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/removed-syntax-field-let.rs:4:9
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
|
|
|
LL | let foo: (),
|
|
|
|
| ^^^ expected `:`
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|