]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/array-not-vector.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / array-not-vector.stderr
index 83bf058c449c971057ebb96f079b721da1d75bda..b5a5389db093a64ac8819749bbf65ec5ccb4d8fb 100644 (file)
@@ -1,5 +1,5 @@
 error[E0308]: mismatched types
-  --> $DIR/array-not-vector.rs:12:19
+  --> $DIR/array-not-vector.rs:2:19
    |
 LL |     let _x: i32 = [1, 2, 3];
    |                   ^^^^^^^^^ expected i32, found array of 3 elements
@@ -8,7 +8,7 @@ LL |     let _x: i32 = [1, 2, 3];
               found type `[{integer}; 3]`
 
 error[E0308]: mismatched types
-  --> $DIR/array-not-vector.rs:19:20
+  --> $DIR/array-not-vector.rs:9:20
    |
 LL |     let _y: &i32 = x;
    |                    ^ expected i32, found slice