fork/rust

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

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

master
327 B13 linesraw
1error: expected identifier, found keyword `trait`
2  --> $DIR/keyword-trait-as-identifier.rs:4:9
3   |
4LL |     let trait = "foo";
5   |         ^^^^^ expected identifier, found keyword
6   |
7help: escape `trait` to use it as an identifier
8   |
9LL |     let r#trait = "foo";
10   |         ++
11
12error: aborting due to previous error
13