]> git.lizzy.rs Git - rust.git/blob - tests/ui/erasing_op.stderr
e54ce85f98ec78b4ddf7730bd064ebfc9a258a4d
[rust.git] / tests / ui / erasing_op.stderr
1 error: this operation will always return zero. This is likely not the intended outcome
2   --> $DIR/erasing_op.rs:6:5
3    |
4 LL |     x * 0;
5    |     ^^^^^
6    |
7    = note: `-D clippy::erasing-op` implied by `-D warnings`
8
9 error: this operation will always return zero. This is likely not the intended outcome
10   --> $DIR/erasing_op.rs:7:5
11    |
12 LL |     0 & x;
13    |     ^^^^^
14
15 error: this operation will always return zero. This is likely not the intended outcome
16   --> $DIR/erasing_op.rs:8:5
17    |
18 LL |     0 / x;
19    |     ^^^^^
20
21 error: aborting due to 3 previous errors
22