fork/rust

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

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

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