diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2024-01-24 15:43:14 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-24 15:43:14 +0100 |
| commit | 7403d5821a6a8e7a5bcc8f00cbffe33aeb718a5d (patch) | |
| tree | 8b4baf1c1ebe651013cb0a9d15a5902856a4f6a3 /tests/ui/array-slice-vec | |
| parent | fee8f00024498e00c9deb689123092382b7cbe2c (diff) | |
| parent | 9676e188683da0dbde7e3798e47703e072cbb589 (diff) | |
| download | rust-7403d5821a6a8e7a5bcc8f00cbffe33aeb718a5d.tar.gz rust-7403d5821a6a8e7a5bcc8f00cbffe33aeb718a5d.zip | |
Rollup merge of #120285 - est31:remove_extra_pound, r=fmease
Remove extra # from url in suggestion The suggestion added in #119805 contains an unnecessary # hash sign.
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)] |
