mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-23 18:26:02 +00:00
future-incompat lints: don't link to the nightly edition-guide version
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user