diff options
| author | bors <bors@rust-lang.org> | 2024-01-26 06:59:26 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-26 06:59:26 +0000 |
| commit | fae15df5c60ccf0f9eaa96651c869d2c2001fddb (patch) | |
| tree | b452546913281a644984fff0862defd7ec76890e /tests/ui/array-slice-vec | |
| parent | 9f4d1a41a6dccf00caace1e9fd20011d586d8b69 (diff) | |
| parent | 2318b0825cc2892a388b307d38389658f09ac3b6 (diff) | |
| download | rust-fae15df5c60ccf0f9eaa96651c869d2c2001fddb.tar.gz rust-fae15df5c60ccf0f9eaa96651c869d2c2001fddb.zip | |
Auto merge of #3280 - rust-lang:rustup-2024-01-26, r=RalfJung
Automatic Rustup
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)] |
