-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Disallow hidden references to mutable static #124895
Conversation
Sorry, I can only review interpreter and Miri PRs. r? compiler |
r? @davidtwco |
This comment has been minimized.
This comment has been minimized.
ef8ab6d
to
ac71600
Compare
This comment has been minimized.
This comment has been minimized.
ac71600
to
968dfbc
Compare
This comment has been minimized.
This comment has been minimized.
Marking as waiting on author since you've made this a draft. |
968dfbc
to
7d2fd98
Compare
This comment has been minimized.
This comment has been minimized.
7d2fd98
to
72b1c9b
Compare
This comment has been minimized.
This comment has been minimized.
72b1c9b
to
6467ccd
Compare
This comment has been minimized.
This comment has been minimized.
6467ccd
to
abfd0a0
Compare
The Miri subtree was changed cc @rust-lang/miri Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
@rustbot ready |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are also some random stray files that need to be deleted:
compiler/rustc_lint_defs/src/lib.rs:11:5
compiler/rustc_lint_defs/src/lib.rs:887:48
I'd personally rather we try to make this lint a bit less trigger-prone if possible. I'd be fine even if we implement it only for totally unconstrained late-bound receiver lifetimes where the lifetime does not show up in the return type or something like that. But that's my personal opinion; I guess if T-lang is fine with this amount of churn then whatever. |
ddc4ef9
to
901bd3d
Compare
r? @compiler-errors -- I'm not a good reviewer for this other than the basics. |
☔ The latest upstream changes (presumably #107251) made this pull request unmergeable. Please resolve the merge conflicts. |
901bd3d
to
27d118d
Compare
27d118d
to
3b0ce1b
Compare
@compiler-errors Done. |
I don't think this actually ever got fixed, but whatever. @bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (5ba6db1): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)Results (secondary -1.8%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (secondary 7.1%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 767.803s -> 768.593s (0.10%) |
Updates for the changes from rust-lang/rust#124895
Closes #123060
Tracking: