summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2020-02-24Auto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbini 1.41.1bors-0/+33
[stable] Cherry-pick LLVM fix for 1.41.1 This PR cherry-picks the LLVM patch required to properly fix https://github.com/rust-lang/rust/issues/69225 on 1.41.1, and adds a test to make sure the fix works. r? @ghost
2020-02-24add test for the new pocIvan Komarov-0/+33
2020-02-24bump llvmPietro Albini-0/+0
2020-02-24Auto merge of #69359 - Mark-Simulacrum:stable-next, r=Mark-Simulacrumbors-979/+1155
[stable] 1.41.1 release This backports the following PRs: * Revert "Remove `checked_add` in `Layout::repeat`" #69241 * Do not ICE when encountering `yield` inside `async` block #69175 * Correct ICE caused by macros generating invalid spans. #68611 * Changelog: Demonstrate final build-override syntax #68603 * Resolve long compile times when evaluating always valid constants #67667 * Fix MIR typeck soundness holes #69145 This also includes a commit which rustfmt's files which the latter commits touched (and perhaps a bit more) to make rebasing the PRs go more smoothly (thankfully, this should be the last time we need to do so). I have removed stable-nominated tags from PRs successfully backported.
2020-02-23Correct stderr output for failing testsMark Rousskov-11/+12
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-22Check types of statics in MIR typeckMatthew Jasper-3/+99
2020-02-22Check `Copy` lifetimes bounds when copying from a projectionMatthew Jasper-40/+64
2020-02-22Resolve long compile times when evaluating always valid constantsWesley Wiser-3/+99
This extends the existing logic which skips validating every integer or floating point number type to also skip validating empty structs because they are also trivially valid. Fixes #67539
2020-02-22Demonstrate final build-override syntaxKornel-2/+2
2020-02-22Correct ICE caused by macros generating invalid spans.Michael Burge-1/+8
2020-02-22Do not ICE when encountering `yield` inside `async` blockEsteban Küber-3/+18
2020-02-21Revert "Remove `checked_add` in `Layout::repeat`"Sebastian Hahn-6/+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-21rustfmt relevant filesMark Rousskov-904/+783
2020-02-211.41.1 releaseMark Rousskov-19/+26
2020-01-27Auto merge of #68568 - pietroalbini:stable-next, r=pietroalbini 1.41.0bors-36/+207
[stable] Rust 1.41.0 stable release This PR produces the 1.41.0 stable release, backporting the following PRs as well: * #68494: Make pointers to statics internal * #67928: Update RELEASES.md for 1.41.0 r? @ghost
2020-01-271.41.0 stable releasePietro Albini-1/+1
2020-01-27switch bootstrap compiler to stable 1.40.0Pietro Albini-2/+2
2020-01-27Update RELEASES.mdXAMPPRocky-2/+1
2020-01-27Update RELEASES.md for 1.41.0Erin Power-0/+116
2020-01-27Make pointers to statics internalMatthew Jasper-33/+89
2020-01-24Auto merge of #68496 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-1423/+1537
[beta] backports This backports: * Do not ICE on malformed suggestion spans #68256 * Distinguish between private items and hidden items in rustdoc #67875 * Revert parts of #66405. #67471 It also includes a few formatting commits to permit the backports to proceed cleanly (those are scoped to the relevant files, but still generate noise, of course). This was deemed easier than attempting to manually deal with the formatting. r? @ghost
2020-01-23review commentsEsteban Küber-16/+14
2020-01-23Do not ICE on malformed suggestion spansEsteban Küber-5/+28
2020-01-23format librustc_errorsMark Rousskov-404/+421
2020-01-23Distinguish between private items and hidden items in rustdocDavid Tolnay-78/+138
I believe rustdoc should not be conflating private items (visibility lower than `pub`) and hidden items (attribute `doc(hidden)`). This matters now that Cargo is passing --document-private-items by default for bin crates. In bin crates that rely on macros, intentionally hidden implementation details of the macros can overwhelm the actual useful internal API that one would want to document. This PR restores the strip-hidden pass when documenting private items, and introduces a separate unstable --document-hidden-items option to skip the strip-hidden pass. The two options are orthogonal to one another.
2020-01-23format librustdocMark Rousskov-775/+839
2020-01-23Revert parts of #66405.Nicholas Nethercote-111/+80
Because it caused major performance regressions in some cases. That PR had five commits, two of which affected performance, and three of which were refactorings. This change undoes the performance-affecting changes, while keeping the refactorings in place. Fixes #67454.
2020-01-23fmt data data structuresMark Rousskov-68/+51
2020-01-19Auto merge of #68321 - cuviper:beta-next, r=Dylan-DPCbors-23/+116
Beta backports - expect `fn` after `const unsafe` / `const extern` #68073 - Do not ICE on unicode next point #68084 - rustdoc: Don't allow `#![feature(...)]` on stable or beta #67989 r? @Mark-Simulacrum
2020-01-17rustdoc: Don't allow `#![feature(...)]` on stable or betaOliver Middleton-2/+1
(cherry picked from commit 40571995984a0f2c466f77955e7d147887c2179b)
2020-01-17Add ICE regression testsEsteban Küber-0/+34
(cherry picked from commit f6e9fd037a7b55f8f4fe78694b77d9788b18dfeb)
2020-01-17Change `next_point` when `shrink_to_hi` is more appropriateEsteban Küber-17/+13
(cherry picked from commit b93ef68245807bac97cd17ea9eaa13169380d815)
2020-01-17Fix invalid bounding boxEsteban Küber-1/+1
(cherry picked from commit d558f6a570a782cd1c2e54de790f4f968b0de5f1)
2020-01-17Fix `next_point` to be unicode awareEsteban Küber-1/+1
(cherry picked from commit 3250057da983fa4d5bfd0799adaa41cb038f0e25)
2020-01-17Do not ICE on unicode next pointEsteban Küber-1/+24
Use `shrink_to_hi` instead of `next_point` Fix #68000. (cherry picked from commit fcd850fc5db2501d14b2e0cbfac8aa890d700e55)
2020-01-17expect `fn` after `const unsafe` / `const extern`Mazdak Farrokhzad-1/+42
(cherry picked from commit 915db7ae6430baef99f186ba40f08e105b7694fe)
2020-01-14Auto merge of #68189 - jonas-schievink:beta-next, r=Mark-Simulacrumbors-25/+241
[Beta] Backports I did not include https://github.com/rust-lang/rust/pull/67134 and https://github.com/rust-lang/rust/pull/67289 since they seem to be on beta already. * Fix up Command Debug output when arg0 is specified. https://github.com/rust-lang/rust/pull/67219 * Do not ICE on unnamed future #67289 * Don't suppress move errors for union fields #67314 * Reenable static linking of libstdc++ on windows-gnu #67410 * Use the correct type for static qualifs #67621 * Treat extern statics just like statics in the "const pointer to static" representation #67630 * Do not ICE on lifetime error involving closures #67687
2020-01-13Fix rebase damageJonas Schievink-1/+0
2020-01-13Do not ICE on lifetime error involving closuresEsteban Küber-2/+38
2020-01-13Treat extern statics just like statics in the "const pointer to static" ↵Oliver Scherer-2/+71
representation
2020-01-13Use the correct type for static qualifsMatthew Jasper-8/+22
2020-01-13Reenable static linking of libstdc++ on windows-gnuMateusz Mikuła-1/+1
2020-01-13Don't suppress move errors for union fieldsMatthew Jasper-9/+79
2020-01-13Move command-related tests into command/Jeremy Fitzhardinge-0/+0
2020-01-13Fix up Command Debug output when arg0 is specified.Jeremy Fitzhardinge-2/+30
PR https://github.com/rust-lang/rust/pull/66512 added the ability to set argv[0] on Command. As a side effect, it changed the Debug output to print both the program and argv[0], which in practice results in stuttery output ("echo echo foo"). This PR reverts the behaviour to the the old one, so that the command is only printed once - unless arg0 has been set. In that case it emits "[command] arg0 arg1 ...".
2019-12-17Auto merge of #67370 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-5/+5
[beta] Switch to bootstrapping from dev-static stable r? @ghost
2019-12-17Switch to bootstrapping from dev-static stableMark Rousskov-5/+5
2019-12-16Auto merge of #67356 - Centril:rollup-paaw3ju, r=Centrilbors-70/+134
Rollup of 8 pull requests Successful merges: - #67249 (Improve code generated for `starts_with(<literal char>)`) - #67308 (Delete flaky test net::tcp::tests::fast_rebind) - #67318 (Improve typeck & lowering docs for slice patterns) - #67322 (use Self alias in place of macros) - #67323 (make transparent enums more ordinary) - #67336 (Fix JS error when loading page with search) - #67344 (.gitignore: Don't ignore a file that exists in the repository) - #67349 (Minor: update Unsize docs for dyn syntax) Failed merges: r? @ghost
2019-12-16Rollup merge of #67349 - petertodd:2019-unsize-docs, r=CentrilMazdak Farrokhzad-1/+1
Minor: update Unsize docs for dyn syntax