Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incorrect

- [Implement raw lifetimes and labels (`'r#ident`).](https://github.com/rust-lang/rust/pull/126452)
- [Define behavior when atomic and non-atomic reads race.](https://github.com/rust-lang/rust/pull/128778)
- [Non-exhaustive structs may now be empty.](https://github.com/rust-lang/rust/pull/128934)
Expand Down Expand Up @@ -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/)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incorrect

- [Support async recursive calls (as long as they have indirection).](https://github.com/rust-lang/rust/pull/117703/)
- [Undeprecate lint `unstable_features` and make use of it in the compiler.](https://github.com/rust-lang/rust/pull/118639/)
- [Make inductive cycles in coherence ambiguous always.](https://github.com/rust-lang/rust/pull/118649/)
- [Get rid of type-driven traversal in const-eval interning](https://github.com/rust-lang/rust/pull/119044/),
only as a [future compatiblity lint](https://github.com/rust-lang/rust/pull/122204) for now.
only as a [future compatibility lint](https://github.com/rust-lang/rust/pull/122204) for now.
- [Deny braced macro invocations in let-else.](https://github.com/rust-lang/rust/pull/119062/)

<a id="1.77.0-Compiler"></a>
Expand Down Expand Up @@ -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/)
Copy link
Member

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.

- [Update the minimum external LLVM to 13](https://github.com/rust-lang/rust/pull/100460/)
- [Don't duplicate file descriptors into stdio fds](https://github.com/rust-lang/rust/pull/101426/)
- [Sunset RLS](https://github.com/rust-lang/rust/pull/100863/)
Expand Down Expand Up @@ -4470,7 +4470,7 @@ Cargo
Rustdoc
-------
- [Added "Go to item on exact match" search option.][85876]
- [The "Implementors" section on traits no longer shows redundant
- [The "Implementers" section on traits no longer shows redundant
method definitions.][85970]
- [Trait implementations are toggled open by default.][86260] This should make the
implementations more searchable by tools like `CTRL+F` in your browser.
Expand Down Expand Up @@ -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**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incorrect

You currently can't use `mem::transmute` in constant functions.

Compiler
Expand Down Expand Up @@ -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]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incorrect

* [Fields of structs may be initialized without duplicating the field/variable
names][39761]. [RFC 1682]
* [`Self` may be included in the `where` clause of `impls`][38864]. [RFC 1647]
Expand All @@ -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]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incorrect


Compiler
--------
Expand Down Expand Up @@ -10546,7 +10546,7 @@ Compiler

* [Mark enums with non-zero discriminant as non-zero][37224]
* [Lower-case `static mut` names are linted like other
statics and consts][37162]
statistics and consts][37162]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incorrect

* [Fix ICE on some macros in const integer positions
(e.g. `[u8; m!()]`)][36819]
* [Improve error message and snippet for "did you mean `x`"][36798]
Expand All @@ -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]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incorrect

* [Add `ArrayVec` and `AccumulateVec` to reduce heap allocations
during interning of slices][37270]
* [Optimize `write_metadata`][37267]
Expand Down Expand Up @@ -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]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incorrect

* [Fix lifetime rules for 'if' conditions][36029].
* [Inherit overflow checks for sum and product][36372].
* [Forbid user-defined macros named "macro_rules"][36730].
Expand Down Expand Up @@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incorrect

* Camel Case types
* Uppercase variables
* Publicly visible private types
Expand Down Expand Up @@ -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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incorrect

* The inner attribute syntax has changed from `#[foo];` to `#![foo]`.
* `Pod` was renamed to `Copy`.

Expand Down Expand Up @@ -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`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incorrect

* extra: `fileinput` module for iterating over a series of files.
* extra: `Complex` number type and `complex` module.
* extra: `Rational` number type and `rational` module.
Expand Down
4 changes: 2 additions & 2 deletions compiler/rustc_error_codes/src/error_codes/E0711.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ fn foo_unstable() {}
```

In the above example, the `foo` feature is first defined to be stable since
1.0.0, but is then re-declared stable since 1.29.0. This discrepancy in
versions causes an error. Furthermore, `foo` is then re-declared as unstable,
1.0.0, but is then redeclared stable since 1.29.0. This discrepancy in
versions causes an error. Furthermore, `foo` is then redeclared as unstable,
again the conflict causes an error.

This error can be fixed by splitting the feature, this allows any
Expand Down
2 changes: 1 addition & 1 deletion tests/mir-opt/pre-codegen/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
The goal of this directory is to track the quality of MIR that is given to codegen in a standard `-O` condiguration.
The goal of this directory is to track the quality of MIR that is given to codegen in a standard `-O` configuration.

As such, feel free to `--bless` whatever changes you get here, so long as doing so doesn't add substantially more MIR.
Loading