summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/issue-103435-extra-parentheses.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /src/test/ui/lint/issue-103435-extra-parentheses.stderr
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.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.stderr61
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
-