Skip to content

Commit a74c295

Browse files
Fix file name
1 parent 300ca5c commit a74c295

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/ui/suggestions/suppress-consider-slicing-issue-120605.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
error[E0529]: expected an array or slice, found `Vec<Struct>`
2-
--> $DIR/issue120605.rs:7:16
2+
--> $DIR/suppress-consider-slicing-issue-120605.rs:7:16
33
|
44
LL | if let [Struct { a: [] }] = &self.a {
55
| ^^^^^^^^^^^^^^^^^^ ------- help: consider slicing here: `&self.a[..]`
66
| |
77
| pattern cannot match with input type `Vec<Struct>`
88

99
error[E0529]: expected an array or slice, found `Vec<Struct>`
10-
--> $DIR/issue120605.rs:7:29
10+
--> $DIR/suppress-consider-slicing-issue-120605.rs:7:29
1111
|
1212
LL | if let [Struct { a: [] }] = &self.a {
1313
| ^^ pattern cannot match with input type `Vec<Struct>`
1414

1515
error[E0529]: expected an array or slice, found `Vec<Struct>`
16-
--> $DIR/issue120605.rs:13:29
16+
--> $DIR/suppress-consider-slicing-issue-120605.rs:13:29
1717
|
1818
LL | if let [Struct { a: [] }] = &self.a[..] {
1919
| ^^ pattern cannot match with input type `Vec<Struct>`

0 commit comments

Comments
 (0)