summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-5100.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:03 +0000
commit64d98f8ee037282c35007b64c2649055c56af1db (patch)
tree5492bcf97fce41ee1c0b1cc2add283f3e66cdab0 /src/test/ui/issues/issue-5100.stderr
parentAdding debian version 1.67.1+dfsg1-1. (diff)
downloadrustc-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/issues/issue-5100.stderr')
-rw-r--r--src/test/ui/issues/issue-5100.stderr76
1 files changed, 0 insertions, 76 deletions
diff --git a/src/test/ui/issues/issue-5100.stderr b/src/test/ui/issues/issue-5100.stderr
deleted file mode 100644
index c87a3e348..000000000
--- a/src/test/ui/issues/issue-5100.stderr
+++ /dev/null
@@ -1,76 +0,0 @@
-error[E0308]: mismatched types
- --> $DIR/issue-5100.rs:8:9
- |
-LL | enum A { B, C }
- | - unit variant defined here
-...
-LL | match (true, false) {
- | ------------- this expression has type `(bool, bool)`
-LL | A::B => (),
- | ^^^^ expected tuple, found enum `A`
- |
- = note: expected tuple `(bool, bool)`
- found enum `A`
-
-error[E0308]: mismatched types
- --> $DIR/issue-5100.rs:17:9
- |
-LL | match (true, false) {
- | ------------- this expression has type `(bool, bool)`
-LL | (true, false, false) => ()
- | ^^^^^^^^^^^^^^^^^^^^ expected a tuple with 2 elements, found one with 3 elements
- |
- = note: expected tuple `(bool, bool)`
- found tuple `(_, _, _)`
-
-error[E0308]: mismatched types
- --> $DIR/issue-5100.rs:25:9
- |
-LL | match (true, false) {
- | ------------- this expression has type `(bool, bool)`
-LL | (true, false, false) => ()
- | ^^^^^^^^^^^^^^^^^^^^ expected a tuple with 2 elements, found one with 3 elements
- |
- = note: expected tuple `(bool, bool)`
- found tuple `(_, _, _)`
-
-error[E0308]: mismatched types
- --> $DIR/issue-5100.rs:33:9
- |
-LL | match (true, false) {
- | ------------- this expression has type `(bool, bool)`
-LL | box (true, false) => ()
- | ^^^^^^^^^^^^^^^^^ expected tuple, found struct `Box`
- |
- = note: expected tuple `(bool, bool)`
- found struct `Box<_>`
-
-error[E0308]: mismatched types
- --> $DIR/issue-5100.rs:40:9
- |
-LL | match (true, false) {
- | ------------- this expression has type `(bool, bool)`
-LL | &(true, false) => ()
- | ^^^^^^^^^^^^^^ expected tuple, found reference
- |
- = note: expected tuple `(bool, bool)`
- found reference `&_`
-
-error[E0618]: expected function, found `(char, char)`
- --> $DIR/issue-5100.rs:48:14
- |
-LL | let v = [('a', 'b')
- | ^^^^^^^^^^- help: consider separating array elements with a comma: `,`
-
-error[E0308]: mismatched types
- --> $DIR/issue-5100.rs:55:19
- |
-LL | let x: char = true;
- | ---- ^^^^ expected `char`, found `bool`
- | |
- | expected due to this
-
-error: aborting due to 7 previous errors
-
-Some errors have detailed explanations: E0308, E0618.
-For more information about an error, try `rustc --explain E0308`.