diff options
| author | dianne <diannes.gm@gmail.com> | 2025-07-16 01:44:02 -0700 |
|---|---|---|
| committer | dianne <diannes.gm@gmail.com> | 2025-07-16 01:44:02 -0700 |
| commit | 413f8db4a97679cfe18a9de3389d28fae7dd771c (patch) | |
| tree | 22cfecb76d08d276eb40599c9616cf0e81843187 | |
| parent | f4b827abeba9f10e6a6f0aaf8c29c7389fe1836a (diff) | |
| download | rust-413f8db4a97679cfe18a9de3389d28fae7dd771c.tar.gz rust-413f8db4a97679cfe18a9de3389d28fae7dd771c.zip | |
future-incompat lints: don't link to the nightly edition-guide version
| -rw-r--r-- | tests/ui/checked_unwrap/simple_conditionals.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/checked_unwrap/simple_conditionals.stderr b/tests/ui/checked_unwrap/simple_conditionals.stderr index a4bf0099244..26e360112b6 100644 --- a/tests/ui/checked_unwrap/simple_conditionals.stderr +++ b/tests/ui/checked_unwrap/simple_conditionals.stderr @@ -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 |
