]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/arithmetic.stderr
Auto merge of #4478 - tsurai:master, r=flip1995
[rust.git] / tests / ui / arithmetic.stderr
index cea9676c2b888893128220ec38bcaadb9286bd23..b21efaa849f79e0f78d2c1018cee2182a8bb54b0 100644 (file)
@@ -1,5 +1,5 @@
 error: integer arithmetic detected
-  --> $DIR/arithmetic.rs:22:5
+  --> $DIR/arithmetic.rs:13:5
    |
 LL |     1 + i;
    |     ^^^^^
@@ -7,32 +7,32 @@ LL |     1 + i;
    = note: `-D clippy::integer-arithmetic` implied by `-D warnings`
 
 error: integer arithmetic detected
-  --> $DIR/arithmetic.rs:23:5
+  --> $DIR/arithmetic.rs:14:5
    |
 LL |     i * 2;
    |     ^^^^^
 
 error: integer arithmetic detected
-  --> $DIR/arithmetic.rs:24:5
+  --> $DIR/arithmetic.rs:15:5
    |
 LL | /     1 %
 LL | |     i / 2; // no error, this is part of the expression in the preceding line
    | |_________^
 
 error: integer arithmetic detected
-  --> $DIR/arithmetic.rs:26:5
+  --> $DIR/arithmetic.rs:17:5
    |
 LL |     i - 2 + 2 - i;
    |     ^^^^^^^^^^^^^
 
 error: integer arithmetic detected
-  --> $DIR/arithmetic.rs:27:5
+  --> $DIR/arithmetic.rs:18:5
    |
 LL |     -i;
    |     ^^
 
 error: floating-point arithmetic detected
-  --> $DIR/arithmetic.rs:37:5
+  --> $DIR/arithmetic.rs:32:5
    |
 LL |     f * 2.0;
    |     ^^^^^^^
@@ -40,31 +40,31 @@ LL |     f * 2.0;
    = note: `-D clippy::float-arithmetic` implied by `-D warnings`
 
 error: floating-point arithmetic detected
-  --> $DIR/arithmetic.rs:39:5
+  --> $DIR/arithmetic.rs:34:5
    |
 LL |     1.0 + f;
    |     ^^^^^^^
 
 error: floating-point arithmetic detected
-  --> $DIR/arithmetic.rs:40:5
+  --> $DIR/arithmetic.rs:35:5
    |
 LL |     f * 2.0;
    |     ^^^^^^^
 
 error: floating-point arithmetic detected
-  --> $DIR/arithmetic.rs:41:5
+  --> $DIR/arithmetic.rs:36:5
    |
 LL |     f / 2.0;
    |     ^^^^^^^
 
 error: floating-point arithmetic detected
-  --> $DIR/arithmetic.rs:42:5
+  --> $DIR/arithmetic.rs:37:5
    |
 LL |     f - 2.0 * 4.2;
    |     ^^^^^^^^^^^^^
 
 error: floating-point arithmetic detected
-  --> $DIR/arithmetic.rs:43:5
+  --> $DIR/arithmetic.rs:38:5
    |
 LL |     -f;
    |     ^^