Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/rust-2024/static-mut-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

## Summary

- The [`static_mut_ref`] lint is now a hard error that cannot be disabled.
- The [`static_mut_refs`] lint is now a hard error that cannot be disabled.
This prevents taking a shared or mutable reference to a `static mut`.

[`static_mut_ref`]: ../../rustc/lints/listing/warn-by-default.html#static-mut-ref
[`static_mut_refs`]: ../../rustc/lints/listing/warn-by-default.html#static-mut-refs

## Details

Expand Down