]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/error-codes/E0528.stderr
slice_patterns: remove gates in tests
[rust.git] / src / test / ui / error-codes / E0528.stderr
index 0f566091145bffaf32458f923677a520690719ea..21615f954c3637dff7d0d926c07eb98d944b2a1c 100644 (file)
@@ -1,5 +1,5 @@
 error[E0528]: pattern requires at least 3 elements but array has 2
-  --> $DIR/E0528.rs:6:10
+  --> $DIR/E0528.rs:4:10
    |
 LL |         &[a, b, c, rest @ ..] => {
    |          ^^^^^^^^^^^^^^^^^^^^ pattern cannot match array of 2 elements