fork/rust

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

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

master
264 B8 linesraw
1// Checks what happens when `public` is used instead of the correct, `pub`
2// edition:2018
3// run-rustfix
4pub struct X;
5//~^ ERROR expected one of `!` or `::`, found keyword `struct`
6//~^^ HELP write `pub` instead of `public` to make the item public
7
8fn main() {}