Skip to content

Commit

Permalink
Merge pull request #293 from ehuss/fix-static-link
Browse files Browse the repository at this point in the history
Rename static_mut_refs
  • Loading branch information
ehuss authored Feb 24, 2024
2 parents 91dbca4 + 795fda3 commit e1eead1
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit e1eead1

Please sign in to comment.