fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
130 B8 linesraw
1// run-rustfix
2
3pub fn foo(_s: usize) -> bool { true }
4//~^ ERROR missing `fn` for function definition
5
6fn main() {
7    foo(2);
8}