]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/issue-19077.rs
Auto merge of #86988 - thomcc:chunky-splitz-says-no-checking, r=the8472
[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 }