summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2018-07-30Stable release 1.28.0Mark Rousskov-1/+1
2018-07-28Auto merge of #52796 - ollie27:rustdoc_beta_lints, r=QuietMisdreavusbors-1/+5
[beta] Disable lints in rustdoc The lint handling in rustdoc 1.28 is still incomplete so I think it would be best to disable it for the stable release. The main thing that's missing is that cargo doesn't cap lints for dependencies. This was fixed in master by #52354 and rust-lang/cargo#5765 but they haven't been backported. Additionally rustdoc is still emitting lints that are not on its whitelist https://github.com/rust-lang/rust/issues/51661#issuecomment-406800119. cc. @rust-lang/rustdoc
2018-07-27Disable lints in rustdocOliver Middleton-1/+5
2018-07-27bump bootstrap compiler to 1.27.2Pietro Albini-2/+2
2018-07-26For some reason, on my linux box, using `-Zverbose` here is causing a linker ↵Felix S. Klock II-1/+1
failure. Rather than try to work out what was happening, I just removed the flag because I see no reason for it to be on this test.
2018-07-26Regression test for issue.Felix S. Klock II-0/+88
2018-07-26When type-checking binops, LHS of assign-op like `+=` is invariant.Felix S. Klock II-11/+18
Therefore we cannot coerce it to a supertype the same way that we can the LHS of `+`. Addresses issue 52126.
2018-07-26Rollup merge of #52709 - cuviper:beta-global_allocator, r=alexcrichtonkennytm-3/+1
beta: only true stage0 needs feature(global_allocator) We use `#[global_allocator]` for `stage0` builds of libstd, and also with `feature = "force_alloc_system"` that's set for a local rebuild, where the bootstrap compiler is the same version and otherwise uses the `--cfg stage1`. We only need the unstable `feature(global_allocator)` for a true `stage0` being 1.27. For rebuilds with 1.28, that feature is stable and causes a denied warning if it's enabled, so we should avoid it.
2018-07-25beta: only true stage0 needs feature(global_allocator)Josh Stone-3/+1
We use `#[global_allocator]` for `stage0` builds of libstd, and also with `feature = "force_alloc_system"` that's set for a local rebuild, where the bootstrap compiler is the same version and otherwise uses the `--cfg stage1`. We only need the unstable `feature(global_allocator)` for a true `stage0` being 1.27. For rebuilds with 1.28, that feature is stable and causes a denied warning if it's enabled, so we should avoid it.
2018-07-25fix beta backportPietro Albini-3/+3
2018-07-25force the doctest rustc thread to share the name of the testQuietMisdreavus-7/+19
2018-07-25compiletest: don't overwrite failure-status if it was previously setQuietMisdreavus-0/+7
2018-07-25add failure-status to rustdoc doctest ui testQuietMisdreavus-9/+10
2018-07-25normalize test output so it can be run from repo rootQuietMisdreavus-10/+14
2018-07-25update stdout file with test path normalizationQuietMisdreavus-10/+10
2018-07-25report doctest compile failures correctlyQuietMisdreavus-22/+38
2018-07-25add ui test for failing doctestQuietMisdreavus-0/+40
2018-07-25rustdoc: set panic output before starting compiler thread poolQuietMisdreavus-25/+27
2018-07-24Auto merge of #52624 - oli-obk:promotion_abort_backport, r=nikomatsakisbors-3/+46
[beta] Abort instead of UB if promotion fails original PR: https://github.com/rust-lang/rust/pull/52571 (not beta approved yet) r? @nikomatsakis cc @RalfJung
2018-07-22Abort instead of UB if promotion failsOliver Schneider-3/+46
2018-07-18[BETA] Update cargoEric Huss-0/+0
- [beta] Partially revert dep changes in rust-lang/cargo#5651 (rust-lang/cargo#5722)
2018-07-16use vendored rustfmt-nightly (src/tools/rustfmt)Sébastien Marie-129/+3
Fixes: #52029
2018-07-14add test for #52213Ariel Ben-Yehuda-0/+24
2018-07-14add a debug log for more MC failuresAriel Ben-Yehuda-3/+6
I don't see why MC should fail on well-formed code, so it might be a better idea to just add a `delay_span_bug` there (anyone remember the `cat_expr Errd` bug from the 1.0 days?). However, I don't think this is a good idea to backport a new delay_span_bug into stable and this code is going away soon-ish anyway.
2018-07-14use the adjusted type for cat_pattern in tuple patternsAriel Ben-Yehuda-1/+1
This looks like a typo introduced in #51686. Fixes #52213.
2018-07-14add comment about lints whitelistingGuillaume Gomez-0/+2
2018-07-14Whitelist lintsGuillaume Gomez-8/+19
2018-07-14Fix rustdoc run failures by shutting down definitely some lintsGuillaume Gomez-2/+42
2018-07-12rustdoc: Hide struct and enum variant constructor importsOliver Middleton-5/+32
2018-07-12Remove rustdoc pluginssteveklabnik-58/+12
See CVE-2018-1000622.
2018-07-12step_by: leave time of item skip unspecifiedEmerentius-1/+22
this gives us some leeway when optimizing
2018-07-09[BETA] Update cargoEric Huss-0/+0
- [BETA] Fix doctests linking too many libs. (rust-lang/cargo#5687) - [beta] Fix `cargo install` using a workspace target dir (rust-lang/cargo#5686)
2018-07-08Update stdsimd submoduleAlex Crichton-0/+0
This commit updates the `stdsimd` module on the beta branch to pull in a fix for rust-lang-nursery/stdsimd#500, a bug which affects the stable 1.27.0 release which causes feature detection on x86 to cause an illegal instruction on some CPUs.
2018-07-05Do not allow LLVM to increase a TLS's alignment on macOS.kennytm-3/+96
2018-07-05Remove unused variableGuillaume Gomez-2/+1
2018-07-05Extend collision prevention to every typeGuillaume Gomez-5/+1
2018-07-05Fix macro missing from doc searchGuillaume Gomez-2/+25
2018-06-30Auto merge of #51925 - Mark-Simulacrum:beta-cargo-backport, r=alexcrichtonbors-0/+0
Update beta Cargo This pulls in https://github.com/rust-lang/cargo/pull/5671. It should permit us to bootstrap from the new beta compiler successfully. r? @alexcrichton
2018-06-29Update beta CargoMark Rousskov-0/+0
This pulls in https://github.com/rust-lang/cargo/pull/5671. It should permit us to bootstrap from the new beta compiler successfully.
2018-06-30Update LLVM to 1c817c7a0c828b8fc8e8e462afbe5db41c7052d1Mike Hommey-0/+0
https://github.com/rust-lang/llvm/pull/118 https://github.com/rust-lang/llvm/pull/119
2018-06-28used debug, not infomark-3/+3
2018-06-28actually fix testmark-1/+1
2018-06-28fix testmark-4/+7
2018-06-28enable fold_macMark Mansi-0/+5
2018-06-28Prohibit global_allocator in submodules for nowMark Mansi-41/+91
- we need to figure out hygiene first - change the test to check that the prohibition works with a good error msg - leaves some comments and debugging code - leaves some of our supposed fixes
2018-06-28Attempt to fix hygiene for global_allocatorMark Mansi-21/+74
2018-06-27use `pat_ty_adjusted` from `expr_use_visitor` to type of argumentsNiko Matsakis-2/+45
2018-06-27rename `pat_ty` to `pat_ty_adjusted` for clarityNiko Matsakis-4/+4
2018-06-27Don't use `ParamEnv::reveal_all()` if there is a real one availableOliver Schneider-1/+29
2018-06-27Do not build LLVM tools for any of the toolsMark Simulacrum-6/+3
None of the tools in the list should need LLVM tools themselves as far as I can tell; if this is incorrect, we can re-enable the tool building later. The primary reason for doing this is that rust-central-station uses the BuildManifest tool and building LLVM there is not cached: it takes ~1.5 hours on the 2 core machine. This commit should make nightlies and stable releases much faster.