summaryrefslogtreecommitdiffstats
path: root/src/test/ui/typeck/issue-91328.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/typeck/issue-91328.stderr')
-rw-r--r--src/test/ui/typeck/issue-91328.stderr39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/test/ui/typeck/issue-91328.stderr b/src/test/ui/typeck/issue-91328.stderr
deleted file mode 100644
index f2f407bca..000000000
--- a/src/test/ui/typeck/issue-91328.stderr
+++ /dev/null
@@ -1,39 +0,0 @@
-error[E0529]: expected an array or slice, found `Vec<i32>`
- --> $DIR/issue-91328.rs:10:12
- |
-LL | match r {
- | - help: consider using `as_deref` here: `r.as_deref()`
-LL |
-LL | Ok([a, b]) => a + b,
- | ^^^^^^ pattern cannot match with input type `Vec<i32>`
-
-error[E0529]: expected an array or slice, found `Vec<i32>`
- --> $DIR/issue-91328.rs:20:14
- |
-LL | match o {
- | - help: consider using `as_deref` here: `o.as_deref()`
-LL |
-LL | Some([a, b]) => a + b,
- | ^^^^^^ pattern cannot match with input type `Vec<i32>`
-
-error[E0529]: expected an array or slice, found `Vec<i32>`
- --> $DIR/issue-91328.rs:30:9
- |
-LL | match v {
- | - help: consider slicing here: `v[..]`
-LL |
-LL | [a, b] => a + b,
- | ^^^^^^ pattern cannot match with input type `Vec<i32>`
-
-error[E0529]: expected an array or slice, found `Box<[i32; 2]>`
- --> $DIR/issue-91328.rs:40:14
- |
-LL | match a {
- | - help: consider using `as_deref` here: `a.as_deref()`
-LL |
-LL | Some([a, b]) => a + b,
- | ^^^^^^ pattern cannot match with input type `Box<[i32; 2]>`
-
-error: aborting due to 4 previous errors
-
-For more information about this error, try `rustc --explain E0529`.