-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Fixed typos #141410
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
Fixed typos #141410
Conversation
|
rustbot has assigned @compiler-errors. Use |
fmease
left a comment
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.
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) |
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.
incorrect
| - [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/) |
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.
incorrect
| - [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** |
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.
incorrect
| -------- | ||
|
|
||
| * [The lifetime of statics and consts defaults to `'static`][39265]. [RFC 1623] | ||
| * [The lifetime of statistics and consts defaults to `'static`][39265]. [RFC 1623] |
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.
incorrect
| `'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] |
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.
incorrect
| * [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] |
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.
incorrect
| * [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] |
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.
incorrect
| * 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`. |
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.
incorrect
| 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. |
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.
incorrect
| warn-by-default. | ||
| * Unnecessary parentheses | ||
| * Uppercase statics | ||
| * Uppercase statistics |
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.
incorrect
| - [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/) |
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.
This is the name of a PR, so please don't change it.
|
I think this is a PR generated by AI, closing it now. |
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