clean tests/ui/neg_multiply.rs

Cleaning the empty lines for clarity.
This commit is contained in:
Luis de Bethencourt 2017-05-11 14:52:39 +01:00
parent cd55b87874
commit 747a20153c
2 changed files with 2 additions and 4 deletions

View File

@ -29,10 +29,8 @@ fn main() {
x * -1;
-1 * x;
-1 * -1; // should be ok
X * -1; // should be ok

View File

@ -11,9 +11,9 @@ note: lint level defined here
| ^^^^^^^^^^^^
error: Negation by multiplying with -1
--> $DIR/neg_multiply.rs:33:5
--> $DIR/neg_multiply.rs:32:5
|
33 | -1 * x;
32 | -1 * x;
| ^^^^^^
error: aborting due to 2 previous errors