]> git.lizzy.rs Git - rust.git/blob - tests/pretty/match-block-expr.rs
Add ~const bounds trait bounds when using derive_const
[rust.git] / tests / pretty / match-block-expr.rs
1 // pp-exact
2
3 fn main() {
4     let x = match { 5 } { 1 => 5, 2 => 6, _ => 7, };
5     assert_eq!(x, 7);
6 }