summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/issue-51055-missing-semicolon-between-call-and-tuple.rs
blob: 37f078285d695330d1c92697a2e42f049ad9be35 (plain)
1
2
3
4
5
6
7
8
fn vindictive() -> bool { true }

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

fn main() {}