Skip to content

Commit

Permalink
Update uitest
Browse files Browse the repository at this point in the history
  • Loading branch information
cgm616 committed Oct 17, 2020
1 parent e465d85 commit 7a50ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ui/xor_used_as_pow.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ error: it appears you are trying to get the maximum value of an integer, but `^`
LL | println!("{}", 2 ^ 16);
| ^^^^^^ help: try: `std::u16::MAX`
|
= note: `#[deny(clippy::xor_used_as_pow)]` on by default
= note: `-D clippy::xor-used-as-pow` implied by `-D warnings`

error: it appears you are trying to get a power of two, but `^` is not an exponentiation operator
--> $DIR/xor_used_as_pow.rs:13:20
Expand Down

0 comments on commit 7a50ef1

Please sign in to comment.