diff --git a/tests/ui/xor_used_as_pow.stderr b/tests/ui/xor_used_as_pow.stderr index 295fe5bc2acc..dc3d6351908f 100644 --- a/tests/ui/xor_used_as_pow.stderr +++ b/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 `^` 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