-
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
Improve wording of static_mut_ref
#121034
Conversation
rustbot has assigned @compiler-errors. Use r? to explicitly pick a reviewer |
09b7047
to
c15b018
Compare
r? RalfJung |
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.
Thanks for the PR! I used the opportunity to update and refine the wording. Please also make the same changes in the lint as well.
Some changes occurred in compiler/rustc_codegen_cranelift cc @bjorn3 Some changes occurred in compiler/rustc_codegen_gcc The Miri subtree was changed cc @rust-lang/miri |
b588372
to
8fe7667
Compare
This comment has been minimized.
This comment has been minimized.
8fe7667
to
aed3dd9
Compare
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.
The language tweaks are getting smaller. :)
aed3dd9
to
dd05776
Compare
This comment has been minimized.
This comment has been minimized.
dd05776
to
15d9384
Compare
This comment has been minimized.
This comment has been minimized.
15d9384
to
b277772
Compare
Beta backport reviewed and postponed to next week. Let's wait first how the review proceeds, ideally before approving the backport we would like to see this PR to get the greenlight for merge discussion on Zulip. |
Looks good, thanks. :) |
…lfJung Improve wording of `static_mut_ref` Close rust-lang#120964
…lfJung Improve wording of `static_mut_ref` Close rust-lang#120964
…llaumeGomez Rollup of 13 pull requests Successful merges: - rust-lang#118264 (Optimize `VecDeque::drain` for (half-)open ranges) - rust-lang#120741 (Make `io::BorrowedCursor::advance` safe) - rust-lang#120777 (Bump Unicode to version 15.1.0, regenerate tables) - rust-lang#120971 (Fix comment in core/src/str/validations.rs) - rust-lang#121034 (Improve wording of `static_mut_ref`) - rust-lang#121095 (Add extra indent spaces for rust-playground link) - rust-lang#121109 (Add an ErrorGuaranteed to ast::TyKind::Err (attempt 2)) - rust-lang#121119 (Make `async Fn` trait kind errors better) - rust-lang#121141 (Fix closure kind docs) - rust-lang#121145 (Update aarch64 target feature docs to match LLVM) - rust-lang#121146 (Only point out non-diverging arms for match suggestions) - rust-lang#121147 (Avoid debug logging entire MIR body) - rust-lang#121155 (doc: add note about panicking examples for strict_overflow_ops) r? `@ghost` `@rustbot` modify labels: rollup
e92cac5
to
b047642
Compare
This comment has been minimized.
This comment has been minimized.
Rename `static_mut_ref` lint to `static_mut_refs`.
b047642
to
408eeae
Compare
…lfJung Improve wording of `static_mut_ref` Close rust-lang#120964
☀️ Test successful - checks-actions |
Finished benchmarking commit (bcb3545): 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)ResultsThis 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.
CyclesResultsThis 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: 640.08s -> 639.843s (-0.04%) |
…Jung Improve wording of `static_mut_ref` Close rust-lang#120964
I have to ask this each time because I forget, sorry.^^ What is the process now, who's responsible for creating the beta PR? (Maybe that info could be included in the standard approval message. :D ) |
T-release will do it
👍 |
[beta] backports - Improve wording of `static_mut_ref` rust-lang#121034 - Solaris linker does not support --strip-debug rust-lang#121399 r? cuviper
…Jung Improve wording of `static_mut_ref` Close rust-lang#120964
Close #120964