summaryrefslogtreecommitdiffstats
path: root/tests/ui/span/issue-39698.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/span/issue-39698.stderr')
-rw-r--r--tests/ui/span/issue-39698.stderr20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/ui/span/issue-39698.stderr b/tests/ui/span/issue-39698.stderr
index 25c35fd54..81211b20a 100644
--- a/tests/ui/span/issue-39698.stderr
+++ b/tests/ui/span/issue-39698.stderr
@@ -1,3 +1,13 @@
+error[E0408]: variable `c` is not bound in all patterns
+ --> $DIR/issue-39698.rs:10:9
+ |
+LL | T::T1(a, d) | T::T2(d, b) | T::T3(c) | T::T4(a) => { println!("{:?}", a); }
+ | ^^^^^^^^^^^ ^^^^^^^^^^^ - ^^^^^^^^ pattern doesn't bind `c`
+ | | | |
+ | | | variable not in all patterns
+ | | pattern doesn't bind `c`
+ | pattern doesn't bind `c`
+
error[E0408]: variable `d` is not bound in all patterns
--> $DIR/issue-39698.rs:10:37
|
@@ -28,16 +38,6 @@ LL | T::T1(a, d) | T::T2(d, b) | T::T3(c) | T::T4(a) => { println!("{:?}
| | variable not in all patterns
| pattern doesn't bind `b`
-error[E0408]: variable `c` is not bound in all patterns
- --> $DIR/issue-39698.rs:10:9
- |
-LL | T::T1(a, d) | T::T2(d, b) | T::T3(c) | T::T4(a) => { println!("{:?}", a); }
- | ^^^^^^^^^^^ ^^^^^^^^^^^ - ^^^^^^^^ pattern doesn't bind `c`
- | | | |
- | | | variable not in all patterns
- | | pattern doesn't bind `c`
- | pattern doesn't bind `c`
-
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0408`.