We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bc5618 commit 4b70360Copy full SHA for 4b70360
tests/ui/parser/issues/unnessary-error-issue-138401.rs
@@ -0,0 +1,4 @@
1
+pub fn foo(x: i64) -> i64 {
2
+ x.abs) //~ ERROR mismatched closing delimiter
3
+} //~ ERROR unexpected closing delimiter: `}`
4
+fn main() {}
tests/ui/parser/issues/unnessary-error-issue-138401.stderr
@@ -0,0 +1,18 @@
+error: mismatched closing delimiter: `)`
+ --> $DIR/unnessary-error-issue-138401.rs:1:27
+ |
+LL | pub fn foo(x: i64) -> i64 {
5
+ | ^ unclosed delimiter
6
+LL | x.abs)
7
+ | ^ mismatched closing delimiter
8
+
9
+error: unexpected closing delimiter: `}`
10
+ --> $DIR/unnessary-error-issue-138401.rs:3:1
11
12
13
+ | - missing open `(` for this delimiter
14
+LL | }
15
+ | ^ unexpected closing delimiter
16
17
+error: aborting due to 2 previous errors
18
0 commit comments