summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2020-03-091.42.0 stable releasePietro Albini-1/+1
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-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-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-27ci: switch macOS builders to 10.15Pietro Albini-24/+5
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-06Drop to non-devstatic stableMark Rousskov-2/+2
2020-02-06[beta] Update cargoEric Huss-0/+0
2020-02-02Backport disabling of Clippy lint debug_assert_with_mut_callflip1995-12/+21
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/+91
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 #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
2020-01-28Rollup merge of #68571 - Centril:check_in_cx, r=oli-obkYuki Okushi-5/+8
check_match: extract common logic This is part of work on `hir::ExprKind::Let` which I thought made sense on its own (though makes even more sense with `::Let`). r? @oli-obk
2020-01-28Rollup merge of #68570 - cr1901:msp430-fix-1-2020, r=alexcrichtonYuki Okushi-0/+0
Bump LLVM submodule to fix LLVM assertion failure in MSP430 interrupt generation. This PR brings in changes introduced by [this cherry-pick](https://github.com/rust-lang/llvm-project/pull/37) to the Rust repository. Nightlies downloaded from `rustup` do not appear to have llvm assertions enabled; the assertion failure [sometimes](https://github.com/YuhanLiin/msp430fr2355-quickstart/issues/3) causes link errors that shouldn't occur. I couldn't find any indication of other bugs; however, it should still be fixed.
2020-01-28Rollup merge of #68563 - Aaron1011:fix/fn-sig-closure, r=varkorYuki Okushi-0/+30
Don't call `tcx.fn_sig` on closures Fixes #68542
2020-01-28Rollup merge of #68482 - GuillaumeGomez:clean-up-err-codes, r=Dylan-DPCYuki Okushi-3/+6
clean up error codes explanation r? @Dylan-DPC
2020-01-28Rollup merge of #68454 - GuillaumeGomez:clean-up-e0214, r=Dylan-DPCYuki Okushi-4/+9
clean up E0214 explanation r? @Dylan-DPC
2020-01-28Rollup merge of #68412 - GuillaumeGomez:clean-up-e0207, r=Dylan-DPCYuki Okushi-13/+17
Clean up E0207 explanation r? @Dylan-DPC
2020-01-28Rollup merge of #68383 - GuillaumeGomez:clean-up-e0205, r=Dylan-DPCYuki Okushi-5/+11
Clean up E0205 explanation r? @Dylan-DPC
2020-01-28stabilize the debug_map_key_value featureAshley Mannix-14/+2
2020-01-27Rollup merge of #68579 - ehuss:update-cargo, r=Mark-SimulacrumMark Rousskov-0/+0
Update cargo 2 commits in b68b0978ab8012f871c80736fb910d14b89c4498..9d32b7b01409024b165545c568b1525d86e2b7cb 2020-01-24 18:26:23 +0000 to 2020-01-26 18:27:29 +0000 - Polish code to clarify meaning (rust-lang/cargo#7836) - Store maximum queue length (rust-lang/cargo#7829)
2020-01-27Rollup merge of #68576 - jonhoo:bump-miri, r=oli-obkMark Rousskov-7/+7
update miri Bump miri for rust-lang/miri#1150 r? @oli-obk
2020-01-27Rollup merge of #68459 - matthiaskrgr:clone_on_copy2, r=eddybMark Rousskov-192/+155
don't clone types that are copy, round two. Apparently fixing some of these issues makes clippy find even more so I did a couple of rounds now. r? @eddyb
2020-01-27Update cargoEric Huss-0/+0
2020-01-27Bump miri for rust-lang/miri#1150Jon Gjengset-7/+7
2020-01-27Disable the testcase for Vxworks.Umesh Kalappa-0/+1