summaryrefslogtreecommitdiffstats
path: root/tests/ui/missing/missing-block-hint.rs
blob: 89db02a9cba84dc79c001acd34329fc146a7a1dc (plain)
1
2
3
4
5
6
7
8
9
fn main() {
    {
        if (foo) => {} //~ ERROR expected `{`, found `=>`
    }
    {
        if (foo)
            bar; //~ ERROR expected `{`, found `bar`
    }
}