summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2018-11-07Auto merge of #55738 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum 1.30.1bors-23/+228
1.30.1 stable release I believe this includes all of the relevant pieces from https://github.com/rust-lang/rust/issues/55594. Backports all proceeded smoothly. cc @rust-lang/release
2018-11-06Bump to 1.30.1 releaseMark Rousskov-1/+1
2018-11-06Include changes from 1.30.1 in release notesMark Rousskov-0/+9
2018-11-06Update cargo to tipMark Rousskov-0/+0
2018-11-06Bubble up an overflow error so that rustdoc can ignore itOliver Scherer-2/+3
2018-11-06Auto merge of #55362 - ehuss:releases-cargo-new-edition, r=Mark-Simulacrumbors-4/+0
Remove `cargo new --edition` from release notes. This was removed at the last minute (#55315, https://github.com/rust-lang/cargo/pull/6216). Apologies for not catching this.
2018-11-06Auto merge of #54199 - nikomatsakis:predicate_may_hold-failure, r=eddybbors-15/+214
overlook overflows in rustdoc trait solving Context: The new rustdoc "auto trait" feature walks across impls and tries to run trait solving on them with a lot of unconstrained variables. This is prone to overflows. These overflows used to cause an ICE because of a caching bug (fixed in this PR). But even once that is fixed, it means that rustdoc causes an overflow rather than generating docs. This PR therefore adds a new helper that propagates the overflow error out. This requires rustdoc to then decide what to do when it encounters such an overflow: technically, an overflow represents neither "yes" nor "no", but rather a failure to make a decision. I've decided to opt on the side of treating this as "yes, implemented", since rustdoc already takes an optimistic view. This may prove to include too many items, but I *suspect* not. We could probably reduce the rate of overflows by unifying more of the parameters from the impl -- right now we only seem to consider the self type. Moreover, in the future, as we transition to Chalk, overflow errors are expected to just "go away" (in some cases, though, queries might return an ambiguous result). Fixes #52873 cc @QuietMisdreavus -- this is the stuff we were talking about earlier cc @GuillaumeGomez -- this supersedes #53687
2018-11-06Update RELEASES.mdCorey Farwell-1/+1
Co-Authored-By: steveklabnik <steve@steveklabnik.com>
2018-11-06Fix link to macros chapterSteve Klabnik-1/+1
We're gonna link to nightly as this didn't make it into the corresponding stable.
2018-10-24Auto merge of #55315 - pietroalbini:release-1.30.0, r=Mark-Simulacrum 1.30.0bors-66/+244
Stable release 1.30 This PR also reverts the stabilization of `non_modrs_mods` and the 2018 edition. r? @Mark-Simulacrum cc @rust-lang/release
2018-10-241.30.0 stable releasePietro Albini-1/+1
2018-10-24Update RELEASES.md after destabilization of non_modrs_modsPietro Albini-3/+0
2018-10-24Update Cargo submodulePietro Albini-0/+0
2018-10-24Destabilize 2018 editionPietro Albini-16/+15
This reverts commit 4d1ec818118c6c5dac5af19b291b9601ef98c17e.
2018-10-24Destabilize feature non_modrs_modsPietro Albini-3/+185
This reverts commit 7f6b60899502c45fc0b58adf79d09fb77ffc8884.
2018-10-24Do some copy editing on the release notesCarol (Nichols || Goulding)-44/+44
I was reading through the release notes to find something and noticed some small grammatical and consistency issues.
2018-10-23Auto merge of #55289 - pietroalbini:beta-backports, r=pietroalbinibors-20/+20
[beta] Rollup backports Merged and approved: * #55231: pick a reference issue for absolute-paths future incompatibility info * #55224: Use a keyword in raw identifier example r? @ghost
2018-10-23Use a keyword in raw identifier examplekryptan-1/+1
2018-10-23pick a reference issue for absolute-paths future incompatibility infoZack M. Davis-19/+19
It would be kind of embarrassing to ship with the "issue TBD" message!
2018-10-18Auto merge of #55184 - pietroalbini:beta-backports, r=pietroalbinibors-33/+188
[beta] Rollup backports Merged and approved: * #54300: Updated RELEASES.md for 1.30.0 * #54939: rustdoc: don't prefer dynamic linking in doc tests * #54671: resolve: Scale back hard-coded extern prelude additions on 2015 edition * #55102: resolve: Do not skip extern prelude during speculative resolution r? @ghost
2018-10-18resolve: Do not skip extern prelude during speculative resolutionVadim Petrochenkov-4/+30
2018-10-18resolve: Scale back hard-coded extern prelude additionsVadim Petrochenkov-7/+9
2018-10-18Copy extern prelude from resolver to global contextVadim Petrochenkov-4/+8
2018-10-18Revert "rustc_resolve: move extern_prelude from Resolver to Session."Vadim Petrochenkov-24/+22
This reverts commit e90985acdec9928da9f6d157cfeb64f0ee98bffe.
2018-10-18Update a rustdoc ui test whose output has changedAlex Crichton-2/+2
2018-10-18Use default of preferring static over dynamic linking in rustdoc tests.Felix S. Klock II-1/+0
2018-10-18Updated RELEASES.md for 1.30.0Aaron Power-0/+126
2018-10-12Auto merge of #55019 - pietroalbini:beta-bootstrap-bump, r=Mark-Simulacrumbors-2/+2
[beta] Bump bootstrap compiler to 1.29.2 r? @Mark-Simulacrum
2018-10-12beta: bump bootstrap compiler to 1.29.2Pietro Albini-2/+2
2018-10-09Auto merge of #54877 - arielb1:destabilize-outlives, r=nikomatsakisbors-802/+807
[beta] back out #53793 - stabilize outlives requirements Fixes #54467 for beta, looks like a less risky fix than #54701
2018-10-09Auto merge of #54907 - pietroalbini:beta-backports, r=pietroalbinibors-49/+102
[beta] Rollup backports Merged and approved: * #54851: Fix a regression in 1.30 by reverting #53564 * #54865: Backport 1.29.2 release notes to master * #54810: Fix dead code lint for functions using impl Trait r? @ghost
2018-10-08Call Foo::async_method in the async-await testJonas Schievink-14/+1
2018-10-08Fix dead code lint for functions using impl TraitJonas Schievink-2/+102
2018-10-08Revert "Slightly refactor VecDeque implementation"Alex Crichton-3/+3
This reverts commit 6ce76acae455a32113116cd2f95f8076388fc2d3.
2018-10-08Revert "Optimize VecDeque::append"Alex Crichton-27/+2
This reverts commit 11e488b64fed181820280d494d4fcc157ee1adc5.
2018-10-08Revert "Add docs and debug asserts"Alex Crichton-23/+11
This reverts commit 1a1a7f6167edf18b8a0ab488e651f7748cc2e9d3.
2018-10-08Revert "Fix tidy"Alex Crichton-2/+1
This reverts commit 1908892d3f60008f265dfc25ac46db387c0ad6a0.
2018-10-08Revert "Add another assert"Alex Crichton-4/+0
This reverts commit 21d2a6c9868541ec9829ced9a5bae936b18741c5.
2018-10-08Update release notes for 1.29.2Pietro Albini-0/+8
2018-10-07add test for #54467Ariel Ben-Yehuda-0/+54
2018-10-07Revert "Auto merge of #53793 - toidiu:ak-stabalize, r=nikomatsakis"Ariel Ben-Yehuda-802/+753
This reverts commit 6810f5286b6b91daab06fc3dccb27d8c46f14349, reversing changes made to 8586ec6980462c99a8926646201b2444d8938d29.
2018-10-04Auto merge of #54821 - pietroalbini:beta-backports, r=pietroalbinibors-30/+160
[beta] Rollup backports Merged and approved: * #54605: resolve: Disambiguate a subset of conflicts "macro_rules" vs "macro name in module" * #54557: incr.comp.: Don't automatically enable -Zshare-generics for incr. comp. builds. * #54759: do not normalize non-scalar constants to a ConstValue::ScalarPair Closes #54759 r? @ghost
2018-10-04do not normalize non-scalar constants to a ConstValue::ScalarPairRalf Jung-6/+30
2018-10-04incr.comp.: Don't automatically enable -Zshare-generics for incr.comp. builds.Michael Woerister-1/+0
2018-10-04resolve: Prefer `macro_rules` definitions to in-module macro definitions in ↵Vadim Petrochenkov-23/+130
some cases
2018-10-03Auto merge of #54358 - flip1995:beta, r=Manishearthbors-103/+1
[beta] Cancel warning for tool_lints For the discussion about this, see: rust-lang-nursery/rust-clippy#3159 `clippy-preview` is available on stable since 1.29. So when running `cargo +beta clippy` on a crate with `#![allow(clippy_lint)]` a warning is produced, which tells the programmer to change this to `#![allow(clippy::clippy_lint)]`. But since `tool_lints` aren't stable yet, this would require a `#![feature(tool_lints)]`. Features aren't available on stable or beta, so we cannot do this. Even wrapping `cfg_attr(clippy)` around this won't help, since Clippy can also be run from stable or beta toolchain. r? @Manishearth
2018-10-02Auto merge of #54750 - pietroalbini:beta-backports, r=pietroalbinibors-146/+223
[beta] Rollup backports Merged and approved: * #54650: Don't lint non-extern-prelude extern crate's in Rust 2018. * #54338: Use full name to identify a macro in a `FileName`. * #54518: resolve: Do not block derive helper resolutions on single import resolutions * #54581: Accept trailing comma in `cfg_attr` r? @ghost
2018-10-02Accept trailing comma in `cfg_attr`Vadim Petrochenkov-0/+28
2018-10-02resolve: Do not block derive helper resolutions on single import resolutionsVadim Petrochenkov-21/+90
Derive helpers conflict currently conflict with anything else, so if some resolution from a single import appears later, it will result in error anyway
2018-10-02Use full name to identify a macro in a `FileName`.Diogo Sousa-15/+47
Before this two macros with same name would be indistinguishable inside a `FileName`. This caused a bug in incremental compilation (see #53097) since two different macros would map out to the same `StableFilemapId`. Fixes #53097.