]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/issue-19077.rs
Rollup merge of #103305 - c410-f3r:moar-errors, r=petrochenkov
[rust.git] / src / test / pretty / issue-19077.rs
1 //
2 // Testing that unsafe blocks in match arms are followed by a comma
3 // pp-exact
4 fn main() {
5     match true {
6         true if true => (),
7         false if false => unsafe {},
8         true => {}
9         false => (),
10     }
11 }