rust/tests/ui/parser/issues/issue-108109-fn-missing-params.rs
2024-02-16 20:02:50 +00:00

10 lines
183 B
Rust

//@ run-rustfix
pub fn missing -> () {}
//~^ ERROR missing parameters for function definition
pub fn missing2 {}
//~^ ERROR missing parameters for function definition
fn main() {}