Update deadlinks of strict_provenance lints

This commit is contained in:
Lieselotte 2024-01-01 20:06:23 +01:00
parent e51e98dde6
commit 82a5745237
No known key found for this signature in database
GPG key ID: 43A6A32F83A6F9B1

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",