fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
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() { }