future-incompat lints: don't link to the nightly edition-guide version

This commit is contained in:
dianne
2025-07-16 01:44:02 -07:00
parent f4b827abeb
commit 413f8db4a9

View File

@@ -328,7 +328,7 @@ error: creating a shared reference to mutable static
LL | if X.is_some() {
| ^^^^^^^^^^^ shared reference to mutable static
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
= note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
= note: `#[deny(static_mut_refs)]` on by default