Skip to content

Commit

Permalink
Try to fix .fixed file
Browse files Browse the repository at this point in the history
  • Loading branch information
cgm616 committed Oct 22, 2020
1 parent d050e32 commit f9e21a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/ui/xor_used_as_pow.fixed
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#![warn(clippy::xor_used_as_pow)]

// Should not be linted
#![allow(dead_code)]
enum E {
First = 1 ^ 8,
Second = 2 ^ 8,
Expand Down
1 change: 1 addition & 0 deletions tests/ui/xor_used_as_pow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#![warn(clippy::xor_used_as_pow)]

// Should not be linted
#![allow(dead_code)]
enum E {
First = 1 ^ 8,
Second = 2 ^ 8,
Expand Down

0 comments on commit f9e21a1

Please sign in to comment.