]> git.lizzy.rs Git - rust.git/blob - tests/pretty/issue-19077.rs
Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk
[rust.git] / tests / 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 }