| Age | Commit message (Collapse) | Author | Lines |
|
[stable] Release 1.42.0
This PR prepares the release artifacts of Rust 1.42.0, and cherry-picks the following PRs:
* https://github.com/rust-lang/rust/pull/69754: Update deprecation version to 1.42 for Error::description
* https://github.com/rust-lang/rust/pull/69753: Do not ICE when matching an uninhabited enum's field
* https://github.com/rust-lang/rust/pull/69522 / https://github.com/rust-lang/rust/pull/69853: error_derive_forbidden_on_non_adt: be more graceful
* https://github.com/rust-lang/rust/pull/68598: Fix null synthetic_implementors error
In addition, the release notes are updated to include the remaining compatibility notes.
r? @Centril
|
|
|
|
|
|
|
|
|
|
(And added Ralf's suggested test.)
Added my own three-variant multi-variant as well.
|
|
|
|
|
|
Error::description is deprecated as of version 1.42, as the commit was
not in the release for 1.41.
|
|
[beta] another round of backports for 1.42
This backports the following pull requests:
* Fix a leak in `DiagnosticBuilder::into_diagnostic`. #69628
* stash API: remove panic to fix ICE. #69623
* Do not ICE on invalid type node after parse recovery #69583
* Backport only: avoid ICE on bad placeholder type #69324
* add regression test for issue #68794 #69168
* Update compiler-builtins to 0.1.25 #69086
* Update RELEASES.md for 1.42.0 #68989
|
|
|
|
|
|
This is a minimal regression test for the issue #68794: "TEXTREL in
i686", which was fixed with e86019c4a0968a1e393cdd0731649168624a88b8.
The test links a minimal rust static library into a shared library, and
checks that the linker didn't have to add the TEXTREL flag.
|
|
This change avoids the ICE by actually emitting an appropriate error. The
output will be duplicated in some cases, but that's better than the
avoidable ICE.
|
|
|
|
|
|
|
|
Fixes #69600.
|
|
[beta] backports
This backports the following PRs:
* ci: switch macOS builders to 10.15 #68863
* Backport release notes of 1.41.1 #69468
* Cherry-pick the LLVM fix for #69225 #69450
* `lit_to_const`: gracefully bubble up type errors. #69330
* [beta] bootstrap from 1.41.1 stable #69518
* bootstrap: Configure cmake when building sanitizer runtimes #69104
r? @ghost
|
|
|
|
1.41.1 contains fixes to miscompilations, we should bootstrap from that to avoid potential hazards.
|
|
|
|
|
|
|
|
|
|
[beta] beta backports
This backports the following PRs:
* Revert "Remove `checked_add` in `Layout::repeat`" #69241
* Do not ICE when encountering `yield` inside `async` block #69175
* Fix MIR typeck soundness holes #69145
* Fix extra subslice lowering #69128
* Correct ICE caused by macros generating invalid spans. #68611
* Make conflicting_repr_hints a deny-by-default c-future-compat lint #68586
|
|
|
|
This helps us have enough disk space for our builders to be able to complete
successfully. For now, the choices are ad-hoc and 'definitely not needed'. This
should never fail the build, as everything our build needs should be inside
Docker.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This fixes a a segfault in safe code, a stable regression. Reported in
\#69225.
This reverts commit a983e0590a43ed8b0f60417828efd4e79b51f494.
Also adds a test for the expected behaviour.
|
|
[beta] backports
* Update jobserver crate to 0.1.21 #68663
* Changelog: Demonstrate final build-override syntax #68603
* [beta] Update cargo #68900
* Uses static.r-l.o instead of dev-static as well.
|
|
|
|
|
|
|
|
Brings in a fix for alexcrichton/jobserver-rs#23 which could cause Cargo
to unnecessarily hang in some situations.
|
|
[beta] Backport disabling of Clippy lint debug_assert_with_mut_call
This disables the Clippy lint `debug_assert_with_mut_call`, see rust-lang/rust-clippy#5112.
Since this is a deny-by-default lint, that landed with `1.41.0`, we want to disable this lint rather sooner than later, that's why the backport.
Clippy branch for the backport: https://github.com/rust-lang/rust-clippy/tree/rust-1.42.0
r? @Mark-Simulacrum
cc (from the Clippy side) @Manishearth @oli-obk
|
|
|
|
[beta] Prepare beta 1.42.0
r? @ghost
|
|
|
|
|
|
Stabilize ptr::slice_from_raw_parts[_mut]
Closes #36925, the tracking issue.
Initial impl: #60667
r? @rust-lang/libs
In addition to stabilizing, I've adjusted the example of `ptr::slice_from_raw_parts` to use `slice_from_raw_parts` instead of `slice_from_raw_parts_mut`, which was unnecessary for the example as written.
|
|
Rollup of 11 pull requests
Successful merges:
- #68200 (Stabilize the debug_map_key_value feature)
- #68383 (Clean up E0205 explanation)
- #68412 (Clean up E0207 explanation)
- #68454 (clean up E0214 explanation)
- #68482 (clean up error codes explanation)
- #68563 (Don't call `tcx.fn_sig` on closures)
- #68570 (Bump LLVM submodule to fix LLVM assertion failure in MSP430 interrupt generation.)
- #68571 (check_match: extract common logic)
- #68573 (Clean up E0262 explanation)
- #68575 (Disable the testcase for Vxworks.)
- #68581 (Add support for icebreakers-cleanup-crew commands)
Failed merges:
r? @ghost
|
|
r=Dylan-DPC
Add support for icebreakers-cleanup-crew commands
r? @nikomatsakis
|
|
Disable the testcase for Vxworks.
r? @alexcrichton
|
|
Clean up E0262 explanation
r? @Dylan-DPC
|