fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1// check-only 2// run-rustfix 3 4fn main() { 5 match 3 { 6 4 => 1, 7 3 => { 8 2 //~ ERROR mismatched types 9 } 10 _ => 2 11 }; 12 match 3 { //~ ERROR mismatched types 13 4 => 1, 14 3 => 2, 15 _ => 2 16 }; 17 let _ = (); 18}