]> git.lizzy.rs Git - rust.git/blob - tests/ui/neg_multiply.stderr
Merge pull request #2984 from flip1995/single_char_pattern
[rust.git] / tests / ui / neg_multiply.stderr
1 error: Negation by multiplying with -1
2   --> $DIR/neg_multiply.rs:30:5
3    |
4 30 |     x * -1;
5    |     ^^^^^^
6    |
7    = note: `-D neg-multiply` implied by `-D warnings`
8
9 error: Negation by multiplying with -1
10   --> $DIR/neg_multiply.rs:32:5
11    |
12 32 |     -1 * x;
13    |     ^^^^^^
14
15 error: aborting due to 2 previous errors
16