-
Notifications
You must be signed in to change notification settings - Fork 13.4k
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 |
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
@@ -567,7 +567,7 @@ Version 1.83.0 (2024-11-28) | |||
Language | |||
-------- | |||
- [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
@@ -1524,12 +1524,12 @@ Language | |||
- [Reveal opaque types within the defining body for exhaustiveness checking.](https://github.com/rust-lang/rust/pull/116821/) | |||
- [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
@@ -5757,7 +5757,7 @@ Language | |||
function's caller's location information for panic messages.][72445] | |||
- [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
@@ -9834,7 +9834,7 @@ Version 1.17.0 (2017-04-27) | |||
Language | |||
-------- | |||
|
|||
* [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
@@ -9843,7 +9843,7 @@ Language | |||
coercing `&mut [&'a X; N]` to `&mut [&'b X]` requires `'a` be equal to | |||
`'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
@@ -10563,7 +10563,7 @@ Compile-time Optimizations | |||
* [Avoid more allocations when compiling html5ever][37373] | |||
* [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
@@ -10895,7 +10895,7 @@ Compatibility Notes | |||
per [RFC 401]. | |||
* [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
@@ -14515,7 +14515,7 @@ Version 0.7 (2013-07-03) | |||
* std: `Map` now defines `pop` and `swap` methods. | |||
* 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
@@ -13994,7 +13994,7 @@ Version 0.10 (2014-04-03) | |||
* An `Unsafe` type was introduced for interior mutability. It is now | |||
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
@@ -13966,7 +13966,7 @@ Version 0.10 (2014-04-03) | |||
* New lint modes have been added, and older ones have been turned on to be | |||
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
@@ -3005,7 +3005,7 @@ Compatibility Notes | |||
area, but is unlikely to affect real world usage. | |||
- [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