We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e465d85 commit 7a50ef1Copy full SHA for 7a50ef1
tests/ui/xor_used_as_pow.stderr
@@ -4,7 +4,7 @@ error: it appears you are trying to get the maximum value of an integer, but `^`
4
LL | println!("{}", 2 ^ 16);
5
| ^^^^^^ help: try: `std::u16::MAX`
6
|
7
- = note: `#[deny(clippy::xor_used_as_pow)]` on by default
+ = note: `-D clippy::xor-used-as-pow` implied by `-D warnings`
8
9
error: it appears you are trying to get a power of two, but `^` is not an exponentiation operator
10
--> $DIR/xor_used_as_pow.rs:13:20
0 commit comments