]> git.lizzy.rs Git - rust.git/blob - tests/ui/erasing_op.stderr
Merge pull request #2984 from flip1995/single_char_pattern
[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:9:5
3   |
4 9 |     x * 0;
5   |     ^^^^^
6   |
7   = note: `-D 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:10:5
11    |
12 10 |     0 & x;
13    |     ^^^^^
14
15 error: this operation will always return zero. This is likely not the intended outcome
16   --> $DIR/erasing_op.rs:11:5
17    |
18 11 |     0 / x;
19    |     ^^^^^
20
21 error: aborting due to 3 previous errors
22