]> git.lizzy.rs Git - rust.git/blob - tests/ui/author/matches.rs
Auto merge of #4591 - flip1995:rustup, r=flip1995
[rust.git] / tests / ui / author / matches.rs
1 #![allow(clippy::let_and_return)]
2
3 fn main() {
4     #[clippy::author]
5     let a = match 42 {
6         16 => 5,
7         17 => {
8             let x = 3;
9             x
10         },
11         _ => 1,
12     };
13 }