diff options
| author | The Miri Cronjob Bot <miri@cron.bot> | 2025-05-01 05:01:02 +0000 |
|---|---|---|
| committer | The Miri Cronjob Bot <miri@cron.bot> | 2025-05-01 05:01:02 +0000 |
| commit | 326d77516d2c93fcbb0d2a83949f08c50059f148 (patch) | |
| tree | b822e3cb76d25b7c01e93431ed6f2796b23509ff /tests/ui/array-slice-vec/array-not-vector.stderr | |
| parent | 589200ea5ed1d83d8680bc3db6dd6bc559a25539 (diff) | |
| parent | 28deaa6e0e7993f963b3bb44bb235c7682ce0cf3 (diff) | |
| download | rust-326d77516d2c93fcbb0d2a83949f08c50059f148.tar.gz rust-326d77516d2c93fcbb0d2a83949f08c50059f148.zip | |
Merge from rustc
Diffstat (limited to 'tests/ui/array-slice-vec/array-not-vector.stderr')
| -rw-r--r-- | tests/ui/array-slice-vec/array-not-vector.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/array-slice-vec/array-not-vector.stderr b/tests/ui/array-slice-vec/array-not-vector.stderr index f20d99524dc..686c5dfe787 100644 --- a/tests/ui/array-slice-vec/array-not-vector.stderr +++ b/tests/ui/array-slice-vec/array-not-vector.stderr @@ -1,5 +1,5 @@ error[E0308]: mismatched types - --> $DIR/array-not-vector.rs:2:19 + --> $DIR/array-not-vector.rs:4:19 | LL | let _x: i32 = [1, 2, 3]; | --- ^^^^^^^^^ expected `i32`, found `[{integer}; 3]` @@ -7,7 +7,7 @@ LL | let _x: i32 = [1, 2, 3]; | expected due to this error[E0308]: mismatched types - --> $DIR/array-not-vector.rs:7:20 + --> $DIR/array-not-vector.rs:9:20 | LL | let _y: &i32 = x; | ---- ^ expected `&i32`, found `&[i32]` |
