Rollup merge of #119498 - ShE3py:provenance-lints-doc, r=Nilstrieb

Update deadlinks of `strict_provenance` lints

Some hyperlinks on the following page redirect to 404 pages:
<https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#explanation-5>

---

```@rustbot``` label +A-docs
This commit is contained in:
León Orell Valerian Liehr 2024-01-03 16:08:30 +01:00 committed by GitHub
commit 39c2e6db3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2817,8 +2817,8 @@ declare_lint! {
/// [`ptr::from_exposed_addr`]. /// [`ptr::from_exposed_addr`].
/// ///
/// [issue #95228]: https://github.com/rust-lang/rust/issues/95228 /// [issue #95228]: https://github.com/rust-lang/rust/issues/95228
/// [`ptr::with_addr`]: https://doc.rust-lang.org/core/ptr/fn.with_addr /// [`ptr::with_addr`]: https://doc.rust-lang.org/core/primitive.pointer.html#method.with_addr
/// [`ptr::from_exposed_addr`]: https://doc.rust-lang.org/core/ptr/fn.from_exposed_addr /// [`ptr::from_exposed_addr`]: https://doc.rust-lang.org/core/ptr/fn.from_exposed_addr.html
pub FUZZY_PROVENANCE_CASTS, pub FUZZY_PROVENANCE_CASTS,
Allow, Allow,
"a fuzzy integer to pointer cast is used", "a fuzzy integer to pointer cast is used",
@ -2863,8 +2863,8 @@ declare_lint! {
/// about the semantics. /// about the semantics.
/// ///
/// [issue #95228]: https://github.com/rust-lang/rust/issues/95228 /// [issue #95228]: https://github.com/rust-lang/rust/issues/95228
/// [`ptr::addr`]: https://doc.rust-lang.org/core/ptr/fn.addr /// [`ptr::addr`]: https://doc.rust-lang.org/core/primitive.pointer.html#method.addr
/// [`ptr::expose_addr`]: https://doc.rust-lang.org/core/ptr/fn.expose_addr /// [`ptr::expose_addr`]: https://doc.rust-lang.org/core/primitive.pointer.html#method.expose_addr
pub LOSSY_PROVENANCE_CASTS, pub LOSSY_PROVENANCE_CASTS,
Allow, Allow,
"a lossy pointer to integer cast is used", "a lossy pointer to integer cast is used",