rust/tests/ui/suggestions/issue-51055-missing-semicolon-between-call-and-tuple.rs
2023-01-11 09:32:08 +00:00

9 lines
149 B
Rust

fn vindictive() -> bool { true }
fn perfidy() -> (i32, i32) {
vindictive() //~ ERROR expected function, found `bool`
(1, 2)
}
fn main() {}