-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking Issue for Rust 2024: Deny references to static mut #123758
Labels
A-edition-2024
Area: The 2024 edition
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
S-tracking-needs-documentation
Status: Needs documentation.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
Comments
traviscross
added
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
A-edition-2024
Area: The 2024 edition
labels
Apr 10, 2024
traviscross
added
S-tracking-impl-incomplete
Status: The implementation is incomplete.
S-tracking-needs-documentation
Status: Needs documentation.
labels
May 21, 2024
tgross35
added a commit
to tgross35/rust
that referenced
this issue
Jul 23, 2024
…haelwoerister Disallow hidden references to mutable static Closes rust-lang#123060 Tracking: - rust-lang#123758
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Jul 23, 2024
…haelwoerister Disallow hidden references to mutable static Closes rust-lang#123060 Tracking: - rust-lang#123758
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Jul 23, 2024
…haelwoerister Disallow hidden references to mutable static Closes rust-lang#123060 Tracking: - rust-lang#123758
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Jul 24, 2024
…elwoerister Disallow hidden references to mutable static Closes rust-lang#123060 Tracking: - rust-lang#123758
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Jul 25, 2024
…elwoerister Disallow hidden references to mutable static Closes rust-lang#123060 Tracking: - rust-lang#123758
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Jul 30, 2024
…elwoerister,traviscross Disallow hidden references to mutable static Closes rust-lang#123060 Tracking: - rust-lang#123758
traviscross
changed the title
Tracking Issue for Rust 2024: Disallow references to static mut
Tracking Issue for Rust 2024: Deny references to static mut
Aug 7, 2024
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Sep 20, 2024
…ler-errors Disallow hidden references to mutable static Closes rust-lang#123060 Tracking: - rust-lang#123758
traviscross
removed
the
S-tracking-impl-incomplete
Status: The implementation is incomplete.
label
Sep 20, 2024
RalfJung
pushed a commit
to RalfJung/miri
that referenced
this issue
Sep 21, 2024
Disallow hidden references to mutable static Closes #123060 Tracking: - rust-lang/rust#123758
flip1995
pushed a commit
to flip1995/rust-clippy
that referenced
this issue
Sep 22, 2024
Disallow hidden references to mutable static Closes #123060 Tracking: - rust-lang/rust#123758
lnicola
pushed a commit
to lnicola/rust-analyzer
that referenced
this issue
Sep 25, 2024
Disallow hidden references to mutable static Closes #123060 Tracking: - rust-lang/rust#123758
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-edition-2024
Area: The 2024 edition
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
S-tracking-needs-documentation
Status: Needs documentation.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
This is a tracking issue for disallowing references to
static mut
items in Rust 2024:static mut
[Edition Idea] #114447static mut
and addingstatic_mut_ref
lint #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-default
lint rather than a hard error.deny-by-default
against references tostatic mut
#128794deny-by-default
one), and we don't need to document those.Related items
static mut
[Edition Idea] #114447static mut
and addingstatic_mut_ref
lint #117556deny-by-default
against references tostatic mut
#128794cc @scottmcm @obeis @est31
The text was updated successfully, but these errors were encountered: