]> git.lizzy.rs Git - rust.git/blob - tests/ui/neg_multiply.stderr
Merge pull request #1748 from luisbg/empty_lines
[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: lint level defined here
8   --> $DIR/neg_multiply.rs:4:9
9    |
10 4  | #![deny(neg_multiply)]
11    |         ^^^^^^^^^^^^
12
13 error: Negation by multiplying with -1
14   --> $DIR/neg_multiply.rs:32:5
15    |
16 32 |     -1 * x;
17    |     ^^^^^^
18
19 error: aborting due to 2 previous errors
20