summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/recover-missing-semi.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:25:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:25:56 +0000
commit018c4950b9406055dec02ef0fb52f132e2bb1e2c (patch)
treea835ebdf2088ef88fa681f8fad45f09922c1ae9a /tests/ui/parser/recover-missing-semi.stderr
parentAdding debian version 1.75.0+dfsg1-5. (diff)
downloadrustc-018c4950b9406055dec02ef0fb52f132e2bb1e2c.tar.xz
rustc-018c4950b9406055dec02ef0fb52f132e2bb1e2c.zip
Merging upstream version 1.76.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui/parser/recover-missing-semi.stderr')
-rw-r--r--tests/ui/parser/recover-missing-semi.stderr37
1 files changed, 0 insertions, 37 deletions
diff --git a/tests/ui/parser/recover-missing-semi.stderr b/tests/ui/parser/recover-missing-semi.stderr
deleted file mode 100644
index ba4798285..000000000
--- a/tests/ui/parser/recover-missing-semi.stderr
+++ /dev/null
@@ -1,37 +0,0 @@
-error: expected `;`, found keyword `let`
- --> $DIR/recover-missing-semi.rs:2:22
- |
-LL | let _: usize = ()
- | ^ help: add `;` here
-...
-LL | let _ = 3;
- | --- unexpected token
-
-error: expected `;`, found keyword `return`
- --> $DIR/recover-missing-semi.rs:9:22
- |
-LL | let _: usize = ()
- | ^ help: add `;` here
-...
-LL | return 3;
- | ------ unexpected token
-
-error[E0308]: mismatched types
- --> $DIR/recover-missing-semi.rs:2:20
- |
-LL | let _: usize = ()
- | ----- ^^ expected `usize`, found `()`
- | |
- | expected due to this
-
-error[E0308]: mismatched types
- --> $DIR/recover-missing-semi.rs:9:20
- |
-LL | let _: usize = ()
- | ----- ^^ expected `usize`, found `()`
- | |
- | expected due to this
-
-error: aborting due to 4 previous errors
-
-For more information about this error, try `rustc --explain E0308`.