]> git.lizzy.rs Git - rust.git/blob - tests/ui/neg_multiply.stderr
Auto merge of #3603 - xfix:random-state-lint, r=phansch
[rust.git] / tests / ui / neg_multiply.stderr
1 error: Negation by multiplying with -1
2   --> $DIR/neg_multiply.rs:36:5
3    |
4 LL |     x * -1;
5    |     ^^^^^^
6    |
7    = note: `-D clippy::neg-multiply` implied by `-D warnings`
8
9 error: Negation by multiplying with -1
10   --> $DIR/neg_multiply.rs:38:5
11    |
12 LL |     -1 * x;
13    |     ^^^^^^
14
15 error: aborting due to 2 previous errors
16