fork/rust

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

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

master
313 B13 linesraw
1error: expected one of `!` or `::`, found keyword `struct`
2  --> $DIR/public-instead-of-pub.rs:4:8
3   |
4LL | public struct X;
5   |        ^^^^^^ expected one of `!` or `::`
6   |
7help: write `pub` instead of `public` to make the item public
8   |
9LL | pub struct X;
10   | ~~~
11
12error: aborting due to previous error
13