Fixed typos#141410
Closed
BorisNaum wants to merge 3 commits into
Closed
Conversation
Collaborator
|
rustbot has assigned @compiler-errors. Use |
fmease
reviewed
May 22, 2025
fmease
left a comment
Member
There was a problem hiding this comment.
Please revert all incorrect changes
| -------- | ||
| - [Stabilize `&mut`, `*mut`, `&Cell`, and `*const Cell` in const.](https://github.com/rust-lang/rust/pull/129195) | ||
| - [Allow creating references to statics in `const` initializers.](https://github.com/rust-lang/rust/pull/129759) | ||
| - [Allow creating references to statistics in `const` initializers.](https://github.com/rust-lang/rust/pull/129759) |
| - [Stabilize C-string literals.](https://github.com/rust-lang/rust/pull/117472/) | ||
| - [Stabilize THIR unsafeck.](https://github.com/rust-lang/rust/pull/117673/) | ||
| - [Add lint `static_mut_refs` to warn on references to mutable statics.](https://github.com/rust-lang/rust/pull/117556/) | ||
| - [Add lint `static_mut_refs` to warn on references to mutable statistics.](https://github.com/rust-lang/rust/pull/117556/) |
| - [Recursively indexing into tuples no longer needs parentheses.][71322] E.g. | ||
| `x.0.0` over `(x.0).0`. | ||
| - [`mem::transmute` can now be used in statics and constants.][72920] **Note** | ||
| - [`mem::transmute` can now be used in statistics and constants.][72920] **Note** |
| -------- | ||
|
|
||
| * [The lifetime of statics and consts defaults to `'static`][39265]. [RFC 1623] | ||
| * [The lifetime of statistics and consts defaults to `'static`][39265]. [RFC 1623] |
| `'b`. Soundness fix. | ||
| * [Values passed to the indexing operator, `[]`, automatically coerce][40166] | ||
| * [Static variables may contain references to other statics][40027] | ||
| * [Static variables may contain references to other statistics][40027] |
| * [Use `SmallVector` in `CombineFields::instantiate`][37322] | ||
| * [Avoid some allocations in the macro parser][37318] | ||
| * [Use a faster deflate setting][37298] | ||
| * [Use a faster deflat setting][37298] |
| * [Fix `#[derive]` for empty tuple structs/variants][35728]. | ||
| Part of [RFC 1506]. | ||
| * [Issue deprecation warnings for safe accesses to extern statics][36173] | ||
| * [Issue deprecation warnings for safe accesses to extern statistics][36173] |
| * std: `Cell` constructors converted to static methods. | ||
| * extra: `rc` module adds the reference counted pointers, `Rc` and `RcMut`. | ||
| * extra: `flate` module moved from `std` to `extra`. | ||
| * extra: `flat` module moved from `std` to `extra`. |
| considered undefined to transmute from `&T` to `&mut T` without using the | ||
| `Unsafe` type. | ||
| * The #[linkage] attribute was implemented for extern statics/functions. | ||
| * The #[linkage] attribute was implemented for extern statistics/functions. |
| warn-by-default. | ||
| * Unnecessary parentheses | ||
| * Uppercase statics | ||
| * Uppercase statistics |
compiler-errors
suggested changes
May 22, 2025
| - [Do not consider a single repeated lifetime eligible for elision in the return type](https://github.com/rust-lang/rust/pull/103450) | ||
| This behavior was unintentionally changed in 1.64.0, and this release reverts that change by making this an error again. | ||
| - [Reenable disabled early syntax gates as future-incompatibility lints](https://github.com/rust-lang/rust/pull/99935/) | ||
| - [Re-enable disabled early syntax gates as future-incompatibility lints](https://github.com/rust-lang/rust/pull/99935/) |
Contributor
There was a problem hiding this comment.
This is the name of a PR, so please don't change it.
Member
|
I think this is a PR generated by AI, closing it now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Files updated:
/RELEASES.md line: 570
/RELEASES.md line: 1527
/RELEASES.md line: 1532
/RELEASES.md line: 3008
/RELEASES.md line: 4473
/RELEASES.md line: 5760
/RELEASES.md line: 14518
/tests/mir-opt/pre-codegen/README.md line: 1
/compiler/rustc_error_codes/src/error_codes/E0711.md line: 25
/compiler/rustc_error_codes/src/error_codes/E0711.md line: 26