fork/rust

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

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

master
274 B11 linesraw
1// Checks what happens when `public` is used instead of the correct, `pub`
2// run-rustfix
3
4pub enum Test {
5    //~^ ERROR expected one of `!` or `::`, found keyword `enum`
6    //~^^ HELP write `pub` instead of `public` to make the item public
7    A,
8    B,
9}
10
11fn main() { }