diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:03 +0000 |
commit | 64d98f8ee037282c35007b64c2649055c56af1db (patch) | |
tree | 5492bcf97fce41ee1c0b1cc2add283f3e66cdab0 /src/test/ui/lint/issue-103435-extra-parentheses.stderr | |
parent | Adding debian version 1.67.1+dfsg1-1. (diff) | |
download | rustc-64d98f8ee037282c35007b64c2649055c56af1db.tar.xz rustc-64d98f8ee037282c35007b64c2649055c56af1db.zip |
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/lint/issue-103435-extra-parentheses.stderr')
-rw-r--r-- | src/test/ui/lint/issue-103435-extra-parentheses.stderr | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/src/test/ui/lint/issue-103435-extra-parentheses.stderr b/src/test/ui/lint/issue-103435-extra-parentheses.stderr deleted file mode 100644 index 29c41c910..000000000 --- a/src/test/ui/lint/issue-103435-extra-parentheses.stderr +++ /dev/null @@ -1,61 +0,0 @@ -error: expected one of `)`, `,`, `@`, or `|`, found keyword `in` - --> $DIR/issue-103435-extra-parentheses.rs:15:12 - | -LL | for(_x in 1..10){} - | ^^ expected one of `)`, `,`, `@`, or `|` - -error: unexpected parentheses surrounding `for` loop head - --> $DIR/issue-103435-extra-parentheses.rs:15:8 - | -LL | for(_x in 1..10){} - | ^ ^ - | -help: remove parentheses in `for` loop - | -LL - for(_x in 1..10){} -LL + for _x in 1..10 {} - | - -error: unnecessary parentheses around pattern - --> $DIR/issue-103435-extra-parentheses.rs:5:11 - | -LL | if let(Some(_))= Some(1) {} - | ^ ^ - | -note: the lint level is defined here - --> $DIR/issue-103435-extra-parentheses.rs:2:9 - | -LL | #![deny(unused_parens)] - | ^^^^^^^^^^^^^ -help: remove these parentheses - | -LL - if let(Some(_))= Some(1) {} -LL + if let Some(_) = Some(1) {} - | - -error: unnecessary parentheses around pattern - --> $DIR/issue-103435-extra-parentheses.rs:8:8 - | -LL | for(_x)in 1..10 {} - | ^ ^ - | -help: remove these parentheses - | -LL - for(_x)in 1..10 {} -LL + for _x in 1..10 {} - | - -error: unnecessary parentheses around `if` condition - --> $DIR/issue-103435-extra-parentheses.rs:11:7 - | -LL | if(2 == 1){} - | ^ ^ - | -help: remove these parentheses - | -LL - if(2 == 1){} -LL + if 2 == 1 {} - | - -error: aborting due to 5 previous errors - |