Skip to content

Commit f818144

Browse files
committed
Update uitest
1 parent efb2b0c commit f818144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/xor_used_as_pow.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error: it appears you are trying to get the maximum value of an integer, but `^`
44
LL | println!("{}", 2 ^ 16);
55
| ^^^^^^ help: try: `std::u16::MAX`
66
|
7-
= note: `#[deny(clippy::xor_used_as_pow)]` on by default
7+
= note: `-D clippy::xor-used-as-pow` implied by `-D warnings`
88

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

0 commit comments

Comments
 (0)