X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Fparser%2Fchained-comparison-suggestion.stderr;h=694b0b6eb028f7498b7b1e60d65388bb8d9a9487;hb=3fac982e07a859ffedba37865bcc6c508e47893b;hp=067920d12f486c6595229d8eef6c896ba9a055b6;hpb=7f32dd546f23f122a6c5e87db50e404261b75722;p=rust.git diff --git a/src/test/ui/parser/chained-comparison-suggestion.stderr b/src/test/ui/parser/chained-comparison-suggestion.stderr index 067920d12f4..694b0b6eb02 100644 --- a/src/test/ui/parser/chained-comparison-suggestion.stderr +++ b/src/test/ui/parser/chained-comparison-suggestion.stderr @@ -7,7 +7,7 @@ LL | 1 < 2 <= 3; help: split the comparison into two | LL | 1 < 2 && 2 <= 3; - | ^^^^ + | ++++ error: comparison operators cannot be chained --> $DIR/chained-comparison-suggestion.rs:9:7 @@ -18,7 +18,7 @@ LL | 1 < 2 < 3; help: split the comparison into two | LL | 1 < 2 && 2 < 3; - | ^^^^ + | ++++ error: comparison operators cannot be chained --> $DIR/chained-comparison-suggestion.rs:13:7 @@ -29,7 +29,7 @@ LL | 1 <= 2 < 3; help: split the comparison into two | LL | 1 <= 2 && 2 < 3; - | ^^^^ + | ++++ error: comparison operators cannot be chained --> $DIR/chained-comparison-suggestion.rs:18:7 @@ -40,7 +40,7 @@ LL | 1 <= 2 <= 3; help: split the comparison into two | LL | 1 <= 2 && 2 <= 3; - | ^^^^ + | ++++ error: comparison operators cannot be chained --> $DIR/chained-comparison-suggestion.rs:23:7 @@ -51,7 +51,7 @@ LL | 1 > 2 >= 3; help: split the comparison into two | LL | 1 > 2 && 2 >= 3; - | ^^^^ + | ++++ error: comparison operators cannot be chained --> $DIR/chained-comparison-suggestion.rs:28:7 @@ -62,7 +62,7 @@ LL | 1 > 2 > 3; help: split the comparison into two | LL | 1 > 2 && 2 > 3; - | ^^^^ + | ++++ error: comparison operators cannot be chained --> $DIR/chained-comparison-suggestion.rs:32:7 @@ -73,7 +73,7 @@ LL | 1 >= 2 > 3; help: split the comparison into two | LL | 1 >= 2 && 2 > 3; - | ^^^^ + | ++++ error: comparison operators cannot be chained --> $DIR/chained-comparison-suggestion.rs:36:7 @@ -84,7 +84,7 @@ LL | 1 >= 2 >= 3; help: split the comparison into two | LL | 1 >= 2 && 2 >= 3; - | ^^^^ + | ++++ error: comparison operators cannot be chained --> $DIR/chained-comparison-suggestion.rs:41:7 @@ -95,7 +95,7 @@ LL | 1 == 2 < 3; help: parenthesize the comparison | LL | 1 == (2 < 3); - | ^ ^ + | + + error: comparison operators cannot be chained --> $DIR/chained-comparison-suggestion.rs:45:7 @@ -106,7 +106,7 @@ LL | 1 > 2 == false; help: parenthesize the comparison | LL | (1 > 2) == false; - | ^ ^ + | + + error: comparison operators cannot be chained --> $DIR/chained-comparison-suggestion.rs:49:7 @@ -117,7 +117,7 @@ LL | 1 == 2 == 3; help: split the comparison into two | LL | 1 == 2 && 2 == 3; - | ^^^^ + | ++++ error[E0308]: mismatched types --> $DIR/chained-comparison-suggestion.rs:4:14