]> git.lizzy.rs Git - rust.git/blob - tests/ui/missing/missing-block-hint.rs
Auto merge of #105716 - chriswailes:ndk-update-redux, r=pietroalbini
[rust.git] / tests / ui / missing / missing-block-hint.rs
1 fn main() {
2     {
3         if (foo) => {} //~ ERROR expected `{`, found `=>`
4     }
5     {
6         if (foo)
7             bar; //~ ERROR expected `{`, found `bar`
8     }
9 }