fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
344 B15 linesraw
1error: expected identifier, found keyword `let`
2  --> $DIR/bad-let-as-field.rs:2:5
3   |
4LL | struct Foo {
5   |        --- while parsing this struct
6LL |     let: i32,
7   |     ^^^ expected identifier, found keyword
8   |
9help: escape `let` to use it as an identifier
10   |
11LL |     r#let: i32,
12   |     ++
13
14error: aborting due to previous error
15