]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui/erasing_op.stderr
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / clippy / 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