summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2020-12-29Auto merge of #80450 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum 1.49.0bors-4/+132
[stable] 1.49.0 stable release r? `@Mark-Simulacrum`
2020-12-281.49.0 stable releaseMark Rousskov-4/+132
2020-12-28Auto merge of #80423 - RalfJung:beta/weak-no-unsized-raw, r=Mark-Simulacrumbors-50/+6
de-stabilize unsized raw ptr methods for Weak `@Mark-Simulacrum` this is the beta branch version of https://github.com/rust-lang/rust/pull/80422.
2020-12-28Auto merge of #80417 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-27/+220
[beta] backports This backports the following to 1.49: * Revert change to trait evaluation order #80132 * Don't allow `const` to begin a nonterminal #80135 * Prevent caching normalization results with a cycle #80246 r? `@Mark-Simulacrum`
2020-12-28de-stabilize unsized raw ptr methods for WeakRalf Jung-50/+6
2020-12-27Prevent caching projections in the case of cyclesMatthew Jasper-21/+147
When normalizing a projection which results in a cycle, we would cache the result of `project_type` without the nested obligations (because they're not needed for inference). This would result in the nested obligations only being handled once in fulfill, which would avoid the cycle error. Fixes #79714, a regresion from #79305 caused by the removal of `get_paranoid_cache_value_obligation`.
2020-12-27Make recursion limit fatal in projectMatthew Jasper-3/+9
This avoid the hang/oom from #79714
2020-12-27Don't allow `const` to begin a nonterminalCamelid-0/+22
Thanks to Vadim Petrochenkov who [told me what the fix was][z]! [z]: https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/finding.20which.20macro.20rule.20to.20use/near/220240422
2020-12-27Revert change to evaluation orderMatthew Jasper-3/+42
This change breaks some code and doesn't appear to enable any new code.
2020-12-22Auto merge of #80210 - wesleywiser:beta_backport, r=Mark-Simulacrumbors-35/+135
Revert "Promote missing_fragment_specifier to hard error" #75516 Revert of #75516 per #76605. r? `@Mark-Simulacrum` Note: I only reverted the two commits in #75516 which made the lint a hard error. I did not revert the other two commits in the PR as they seemed fine to leave IMO (commits 84fcd0dc991e2f5b9035d118d8c016f35ab37d0a and eb4d6b520b3e75c7e93f1ea13f1a45eda0687b4e).
2020-12-21Add example to lint docsWesley Wiser-1/+29
2020-12-19Revert "Promote missing_fragment_specifier to hard error"Wesley Wiser-32/+90
This reverts commit 02eae432e7476a0686633a8c2b7cb1d5aab1bd2c.
2020-12-19Revert "Remove missing_fragment_specifier lint"Wesley Wiser-3/+17
This reverts commit 5ba961018c482e050af908de60e4f8bd1a00f0ae.
2020-12-10Auto merge of #79903 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-163/+151
[beta] backports * Revert #77534 fixing #77713 on beta, principled fix landed on master * fix soundness issue in `make_contiguous` #79814 * Fix exhaustiveness in case a byte string literal is used at slice type #79072
2020-12-10fix unsoundness in `make_contiguous`Bastian Kauschke-5/+27
2020-12-10Fix exhaustiveness in case a byte string literal is used at slice typeoli-12/+113
2020-12-10Revert "Prevent forbid from being ignored if overriden at the same level."Mark Rousskov-140/+5
This reverts commit afa2a675453091773eb9dd1b19389725526224b9.
2020-12-10Revert "rewrite old test so that its attributes are consistent with what we ↵Mark Rousskov-6/+6
want in the language." This reverts commit b4e77d21bcf8b15ef7d873005382ba8ca309faf5.
2020-12-08Auto merge of #79838 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-176/+150
[beta] backports * [beta] always disable copy_file_range to avoid EOVERFLOW errors #79008 * Enforce no-move rule of ReentrantMutex using Pin and fix UB in stdio #77801 * bootstrap: use the same version number for rustc and cargo #79133 * [beta] Revert "Enable ASLR for windows-gnu" #79141 * [beta] revert #78790, vendor libtest for rustc-src #79571 * Mirror centos vault to S3 #79435 * [beta] Update cargo #79739 This also bumps to non-dev stable compiler. r? `@ghost`
2020-12-08[beta] Update cargoEric Huss-0/+0
2020-12-08Non-dev bootstrap on betaMark Rousskov-2/+2
2020-12-08Mirror centos vault to S3Mark Rousskov-3/+5
2020-12-08[beta] revert #78790, vendor libtest for rustc-srcEric Huss-45/+2
2020-12-08Revert "Enable ASLR for windows-gnu"Mateusz Mikuła-12/+2
This reverts commit 0ad3da06843089c0bf10d6caa3fbbc72fa67787a.
2020-12-08bootstrap: use the same version number for rustc and cargoPietro Albini-31/+9
Historically the stable tarballs were named after the version number of the specific tool, instead of the version number of Rust. For example, both of the following tarballs were part of the same release: rustc-1.48.0-x86_64-unknown-linux-gnu.tar.xz cargo-0.49.0-x86_64-unknown-linux-gnu.tar.xz PR #77336 changed the dist code to instead use Rust's version number for all the tarballs, regardless of the tool they contain: rustc-1.48.0-x86_64-unknown-linux-gnu.tar.xz cargo-1.48.0-x86_64-unknown-linux-gnu.tar.xz Because of that there is no need anymore to have a separate `cargo` field in src/stage0.txt, as the Cargo version will always be the same as the rustc version. This PR removes the field, simplifying the code and the maintenance work required while producing releases.
2020-12-08Pin the ReentrantMutexes in sys::io::stdio.Mara Bos-25/+30
The code before this change misused the ReentrantMutexes, by calling init() on them and moving them afterwards. Now that ReentrantMutex requires Pin for init(), this mistake is no longer easy to make.
2020-12-08Return a Pin from SyncOnceCell::get_or_init_pin.Mara Bos-4/+7
2020-12-08Add (internal-only) SyncOnceCell::get_or_init_pin.Mara Bos-0/+52
2020-12-08Update ReentrantMutex tests to use Pin.Mara Bos-15/+21
2020-12-08Use Pin for the 'don't move' requirement of ReentrantMutex.Mara Bos-33/+19
2020-12-08Remove unnecessary import of `crate::marker` in std::sys_common::remutex.Mara Bos-2/+1
It was used for marker::Send, but Send is already in scope.
2020-12-08Fix outdated comment about not needing to flush stderr.Mara Bos-7/+3
2020-12-08[beta] always disable copy_file_range to avoid EOVERFLOW errorsThe8472-1/+1
2020-11-24Auto merge of #79386 - ehuss:update-beta-cargo, r=Mark-Simulacrumbors-0/+0
[beta] Update cargo 2 commits in 8662ab427a8d6ad8047811cc4d78dbd20dd07699..b9216831aac72cfa8167996e3a94d976461e3fd9 2020-11-12 03:47:53 +0000 to 2020-11-24 16:59:56 +0000 - [beta] backport doc fix for CARGO_PRIMARY_PACKAGE (rust-lang/cargo#8896) - [beta] backport fix for publishing with optional dependencies. (rust-lang/cargo#8893)
2020-11-24[beta] Update cargoEric Huss-0/+0
2020-11-18Auto merge of #79162 - pietroalbini:beta-next, r=pietroalbinibors-52/+222
Actually prepare beta 1.49.0 This PR sets everything up for beta 1.49.0, and backports the following PRs to it: * #79107 - build-manifest: strip newline from rustc version * #78986 - Avoid installing external LLVM dylibs * #79074 - Install CI llvm into the library directory * #78364 - Update RELEASES.md for 1.48.0 * #77939 - Ensure that the source code display is working with DOS backline This is the same as #79132, but actually targeting the right branch. r? `@ghost` cc `@rust-lang/release`
2020-11-17Ignore failures of RLS on aarch64 WindowsMark Rousskov-1/+7
2020-11-17Update fulldeps testMark Rousskov-29/+18
2020-11-17Add test to ensure that no DOS backline (\r\n) doesn't create extra backline ↵Guillaume Gomez-14/+27
in source rendering
2020-11-17Ensure that the source code display is working with DOS backlineGuillaume Gomez-0/+2
2020-11-17Update RELEASES.mdXAMPPRocky-1/+6
2020-11-17Update RELEASES.mdXAMPPRocky-0/+11
2020-11-17Update RELEASES.mdXAMPPRocky-3/+3
2020-11-17Update RELEASES.mdXAMPPRocky-4/+4
2020-11-17Update RELEASES.mdXAMPPRocky-7/+3
2020-11-17Update RELEASES.mdXAMPPRocky-1/+1
2020-11-17Update RELEASES.mdXAMPPRocky-1/+1
2020-11-17Update RELEASES.mdXAMPPRocky-5/+9
2020-11-17Apply suggestions from code reviewXAMPPRocky-5/+5
Co-authored-by: Camelid <camelidcamel@gmail.com> Co-authored-by: Mark Rousskov <mark.simulacrum@gmail.com>
2020-11-17Apply suggestions from code reviewXAMPPRocky-6/+6
Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com> Co-authored-by: Jonas Schievink <jonasschievink@gmail.com> Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>