summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2020-03-09Auto merge of #69854 - pietroalbini:stable-next, r=Centril 1.42.0bors-21/+165
[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
2020-03-091.42.0 stable releasePietro Albini-1/+1
2020-03-09include compatibility notes for 1.42.0Pietro Albini-1/+9
2020-03-09error_derive_forbidden_on_non_adt: be more gracefulMazdak Farrokhzad-4/+39
2020-03-09Fix null synthetic_implementors errorGuillaume Gomez-14/+16
2020-03-09Added oli's multivariant test case (alpha renaming the enum name itself).Felix S. Klock II-3/+63
(And added Ralf's suggested test.) Added my own three-variant multi-variant as well.
2020-03-09Add FIXMEOliver Scherer-0/+2
2020-03-09Fix #69191Felix S. Klock II-0/+37
2020-03-09Update deprecation version to 1.42 for Error::descriptionDylan Nugent-1/+1
Error::description is deprecated as of version 1.42, as the commit was not in the release for 1.41.
2020-03-06Auto merge of #69748 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-772/+257
[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
2020-03-05Backport release notes onto betaMark Rousskov-0/+98
2020-03-05Update compiler-builtins to 0.1.25Tyler Mandry-2/+2
2020-03-05add regression test for issue #68794Alberto Piai-0/+31
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.
2020-03-05Backport only: avoid ICE on bad placeholder typeEsteban Küber-750/+34
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.
2020-03-05Add regression testLeSeulArtichaut-0/+17
2020-03-05Do not ICE on invalid type nodeLeSeulArtichaut-0/+1
2020-03-05stash API: remove panic to fix ICE.Mazdak Farrokhzad-14/+69
2020-03-05Fix a leak in `DiagnosticBuilder::into_diagnostic`.Nicholas Nethercote-6/+5
Fixes #69600.
2020-02-28Auto merge of #69535 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-72/+125
[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
2020-02-28bootstrap: Configure cmake when building sanitizer runtimesTomasz Miąsko-9/+19
2020-02-27[beta] bootstrap from 1.41.1 stableMatthias Krüger-2/+2
1.41.1 contains fixes to miscompilations, we should bootstrap from that to avoid potential hazards.
2020-02-27lit_to_const: gracefully bubble up type errors.Mazdak Farrokhzad-37/+56
2020-02-27Cherry-pick the LLVM fix for #69225Josh Stone-0/+33
2020-02-27backport release notes of 1.41.1Pietro Albini-0/+10
2020-02-27ci: switch macOS builders to 10.15Pietro Albini-24/+5
2020-02-24Auto merge of #69360 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-64/+344
[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
2020-02-23Fix stderr for testMark Rousskov-1/+0
2020-02-22Clean out some default-installed directoriesMark Rousskov-0/+19
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.
2020-02-21lintify conflicting_repr_hintsMazdak Farrokhzad-20/+59
2020-02-21Correct ICE caused by macros generating invalid spans.Michael Burge-1/+8
2020-02-21fix extra subslice loweringMazdak Farrokhzad-6/+55
2020-02-21Check types of statics in MIR typeckMatthew Jasper-2/+97
2020-02-21Check `Copy` lifetimes bounds when copying from a projectionMatthew Jasper-27/+51
2020-02-21Do not ICE when encountering `yield` inside `async` blockEsteban Küber-3/+18
2020-02-21Revert "Remove `checked_add` in `Layout::repeat`"Sebastian Hahn-5/+38
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.
2020-02-07Auto merge of #68906 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-6/+6
[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.
2020-02-06Drop to non-devstatic stableMark Rousskov-2/+2
2020-02-06[beta] Update cargoEric Huss-0/+0
2020-02-06Demonstrate final build-override syntaxKornel-2/+2
2020-02-06Update jobserver crate to 0.1.21Alex Crichton-2/+2
Brings in a fix for alexcrichton/jobserver-rs#23 which could cause Cargo to unnecessarily hang in some situations.
2020-02-04Auto merge of #68753 - flip1995:clippy-backport, r=Mark-Simulacrumbors-12/+21
[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
2020-02-02Backport disabling of Clippy lint debug_assert_with_mut_callflip1995-12/+21
2020-01-29Auto merge of #68595 - pietroalbini:beta-next, r=Mark-Simulacrumbors-28/+6
[beta] Prepare beta 1.42.0 r? @ghost
2020-01-29Bump submodules to fix testsMark Rousskov-22/+0
2020-01-28prepare beta 1.42.0Pietro Albini-6/+6
2020-01-28Auto merge of #68234 - CAD97:slice-from-raw-parts, r=KodrAusbors-8/+5
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.
2020-01-28Auto merge of #68587 - JohnTitor:rollup-fz45xwc, r=JohnTitorbors-47/+102
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
2020-01-28Rollup merge of #68581 - spastorino:support-ice-breaker-cleanup-crew, ↵Yuki Okushi-0/+11
r=Dylan-DPC Add support for icebreakers-cleanup-crew commands r? @nikomatsakis
2020-01-28Rollup merge of #68575 - Wind-River:master_2020, r=alexcrichtonYuki Okushi-0/+1
Disable the testcase for Vxworks. r? @alexcrichton
2020-01-28Rollup merge of #68573 - GuillaumeGomez:clean-up-e0262, r=Dylan-DPCYuki Okushi-3/+7
Clean up E0262 explanation r? @Dylan-DPC