Skip to content

Commit

Permalink
Add test for rust-lang#3198
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed May 14, 2019
1 parent ad3269c commit 861d233
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/ui/many_single_char_names.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,9 @@ fn patterns() {
}
}

#[allow(clippy::many_single_char_names)]
fn issue_3198_allow_works() {
let (a, b, c, d, e) = (0, 0, 0, 0, 0);
}

fn main() {}

0 comments on commit 861d233

Please sign in to comment.