diff options
| author | The Miri Conjob Bot <miri@cron.bot> | 2024-01-26 05:09:55 +0000 |
|---|---|---|
| committer | The Miri Conjob Bot <miri@cron.bot> | 2024-01-26 05:09:55 +0000 |
| commit | b07da7103f0693484affede39264f2a80ad660b2 (patch) | |
| tree | 75ab5da8f5f8ec79a6ff7333396b9bcd2c56f95b /tests/ui/array-slice-vec | |
| parent | 88e1620760413f43b2ae44684cb2ace869a15b1c (diff) | |
| parent | dd2559e08e1530806740931037d6bb83ef956161 (diff) | |
| download | rust-b07da7103f0693484affede39264f2a80ad660b2.tar.gz rust-b07da7103f0693484affede39264f2a80ad660b2.zip | |
Merge from rustc
Diffstat (limited to 'tests/ui/array-slice-vec')
| -rw-r--r-- | tests/ui/array-slice-vec/repeat_empty_ok.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/array-slice-vec/repeat_empty_ok.stderr b/tests/ui/array-slice-vec/repeat_empty_ok.stderr index bc3a68c905d..c272d47d961 100644 --- a/tests/ui/array-slice-vec/repeat_empty_ok.stderr +++ b/tests/ui/array-slice-vec/repeat_empty_ok.stderr @@ -6,7 +6,7 @@ LL | let headers = [Header{value: &[]}; 128]; | = note: the `Copy` trait is required because this value will be copied for each element of the array = help: consider using `core::array::from_fn` to initialize the array - = help: see https://doc.rust-lang.org/stable/std/array/fn.from_fn.html# for more information + = help: see https://doc.rust-lang.org/stable/std/array/fn.from_fn.html for more information help: consider annotating `Header<'_>` with `#[derive(Copy)]` | LL + #[derive(Copy)] @@ -21,7 +21,7 @@ LL | let headers = [Header{value: &[0]}; 128]; | = note: the `Copy` trait is required because this value will be copied for each element of the array = help: consider using `core::array::from_fn` to initialize the array - = help: see https://doc.rust-lang.org/stable/std/array/fn.from_fn.html# for more information + = help: see https://doc.rust-lang.org/stable/std/array/fn.from_fn.html for more information help: consider annotating `Header<'_>` with `#[derive(Copy)]` | LL + #[derive(Copy)] |
