diff options
| author | bors <bors@rust-lang.org> | 2024-01-24 20:34:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-24 20:34:41 +0000 |
| commit | 7ffc697ce10f19447c0ce338428ae4b9bc0c041c (patch) | |
| tree | 2c2b3024247cea35c3c16a67dd661e78241ea221 /compiler/rustc_trait_selection/src | |
| parent | cd6d8f2a04528f827ad3d399581c0f3502b15a72 (diff) | |
| parent | 8325f3dd63e99a2ea438430ee3f8cba07ba176c7 (diff) | |
| download | rust-7ffc697ce10f19447c0ce338428ae4b9bc0c041c.tar.gz rust-7ffc697ce10f19447c0ce338428ae4b9bc0c041c.zip | |
Auto merge of #120309 - fmease:rollup-kr7wqy6, r=fmease
Rollup of 9 pull requests Successful merges: - #114764 ([style edition 2024] Combine all delimited exprs as last argument) - #118326 (Add `NonZero*::count_ones`) - #119460 (coverage: Never emit improperly-ordered coverage regions) - #119616 (Add a new `wasm32-wasi-preview2` target) - #120185 (coverage: Don't instrument `#[automatically_derived]` functions) - #120265 (Remove no-system-llvm) - #120284 (privacy: Refactor top-level visiting in `TypePrivacyVisitor`) - #120285 (Remove extra # from url in suggestion) - #120299 (Add mw to review rotation and add some owner assignments) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_trait_selection/src')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs b/compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs index e31aaaa1969..f3b04b55a35 100644 --- a/compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs +++ b/compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs @@ -3155,7 +3155,7 @@ impl<'tcx> TypeErrCtxtExt<'tcx> for TypeErrCtxt<'_, 'tcx> { } else { // FIXME: we may suggest array::repeat instead err.help("consider using `core::array::from_fn` to initialize the array"); - err.help("see https://doc.rust-lang.org/stable/std/array/fn.from_fn.html# for more information"); + err.help("see https://doc.rust-lang.org/stable/std/array/fn.from_fn.html for more information"); } if self.tcx.sess.is_nightly_build() |
