This is a tracking issue for disallowing references to static mut items in Rust 2024:
About tracking issues
Tracking issues are used to record the overall progress of implementation. They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions. A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature. Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
Related items
cc @scottmcm @obeis @est31
This is a tracking issue for disallowing references to
static mutitems in Rust 2024:static mut[Edition Idea] #114447static mutand addingstatic_mut_reflint #117556About tracking issues
Tracking issues are used to record the overall progress of implementation. They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions. A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature. Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
deny-by-defaultlint rather than a hard error.deny-by-defaultagainst references tostatic mut#128794deny-by-defaultone), and we don't need to document those.Related items
static mut[Edition Idea] #114447static mutand addingstatic_mut_reflint #117556deny-by-defaultagainst references tostatic mut#128794cc @scottmcm @obeis @est31