1 2 3 4 5 6 7 8 9 10
// run-rustfix pub foo(_s: usize) { bar() } //~^ ERROR missing `fn` for function definition fn bar() {} fn main() { foo(2); }