Skip to content

Commit

Permalink
Allow unused parentheses in tests::type_eq
Browse files Browse the repository at this point in the history
  • Loading branch information
nvzqz committed Dec 29, 2019
1 parent 38e4b90 commit a5caf93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/type_eq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ assert_type_eq_all!([u8], [u8]);
#[allow(dead_code)]
type X = u8;

#[allow(unused_parens)]
mod m {
assert_type_eq_all!(super::X, u8, (super::X));
}

0 comments on commit a5caf93

Please sign in to comment.