summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2018-12-04Auto merge of #56518 - pietroalbini:stable-additions, r=pietroalbini 1.31.0bors-8/+53
[stable] Add a few critical fixes to the 1.31.0 release This PR cherry-picks the following PRs to stable: * #56467: Bump stack size to 32MB * #56486: Propagate all closure requirements to the caller * #56519: update edition guide The changes will be included in the final 1.31.0 binary (to avoid a point release). To deploy the build to dev-static the old manifest needs to be removed from the bucket after the PR is merged. cc @rust-lang/core @rust-lang/release @rust-lang/compiler r? @alexcrichton
2018-12-05build the edition guideSteve Klabnik-1/+2
and update it so that links are correct
2018-12-04Call methods on the right tcxMatthew Jasper-2/+2
There are two `TyCtxt`s, one global, one local. Methods must be called on the right one, as they differ by invariant lifetimes.
2018-12-04Propagate all closure requirements to the callerMatthew Jasper-1/+43
2018-12-04Bump stack size to 32MBOliver Scherer-4/+6
2018-12-03Auto merge of #56455 - Mark-Simulacrum:stable-next, r=Mark-Simulacrumbors-1/+1
Stable 1.31.0 release This also includes a patch to the edition guide inclusion such that it should actually get built. It will need to be forward-ported to master (and beta, but that'll come as master/beta promotion). cc @rust-lang/release
2018-12-03Stable 1.31.0 releaseMark Rousskov-1/+1
2018-12-01Auto merge of #56380 - pietroalbini:backport-books, r=alexcrichtonbors-1/+4
[beta] Rollup backports Approved for backport: * #56373: Update books r? @ghost cc @Mark-Simulacrum @steveklabnik
2018-12-01Update nomicon againAlex Crichton-0/+0
2018-12-01Auto merge of #56405 - nrc:rls-beta, r=Mark-Simulacrumbors-7/+7
Update RLS on beta r? @pietroalbini @alexcrichton
2018-12-02Update RLS on betaNick Cameron-7/+7
2018-11-30Add the edition guide to doc.rust-lang.orgSteve Klabnik-1/+4
2018-11-30update nomiconSteve Klabnik-0/+0
2018-11-30Auto merge of #56352 - alexcrichton:beta-next, r=alexcrichtonbors-26/+104
Rollup beta backports * https://github.com/rust-lang/rust/pull/56264 * https://github.com/rust-lang/rust/pull/56300 * https://github.com/rust-lang/rust/pull/56322 * https://github.com/rust-lang/rust/pull/56329 Neither https://github.com/rust-lang/rust/pull/56300 nor https://github.com/rust-lang/rust/pull/56329 applied cleanly, but I think I've gotten it working with @nikic's [help](https://github.com/rust-lang/rust/pull/56300#issuecomment-442950648) (thanks!) Closes https://github.com/rust-lang/rust/issues/56311 Closes https://github.com/rust-lang/rust/issues/56263
2018-11-29Update rustfmt to build on all archesAlex Crichton-16/+13
cc #56261
2018-11-29rustc_codegen_llvm: don't overalign loads of pair operands.Eduard-Mihai Burtescu-3/+25
2018-11-29resolve: Fix false-positives from lint `absolute_paths_not_starting_with_crate`Vadim Petrochenkov-1/+22
2018-11-29Fix alignment of stores to scalar pairNikita Popov-5/+33
The alignment for the second element of a scalar pair is not the same as for the first element. Make sure it is computed correctly based on the element size.
2018-11-29resolve: Extern prelude is for type namespace onlyVadim Petrochenkov-1/+11
2018-11-26Auto merge of #56240 - nikomatsakis:beta, r=pietroalbinibors-546/+678
beta backports Backported PRs: - [x] Avoid panic when matching function call #55742 - [x] [beta] resolve: Implement edition hygiene for imports and absolute paths #56053 r? @ghost cc @rust-lang/release
2018-11-26 Rollup merge of #56053 - petrochenkov:absedihyg, r=nikomatsakis,alexcrichtonPietro Albini-661/+991
2018-11-26fix ICEF001-5/+34
2018-11-25resolve: Suggest `crate::` for resolving ambiguities when appropriateVadim Petrochenkov-50/+111
More precise spans for ambiguities from macros
2018-11-25resolve: Fallback to extern prelude in 2015 imports used from global 2018 ↵Vadim Petrochenkov-25/+86
edition
2018-11-25resolve: Generalize `early_resolve_ident_in_lexical_scope` slightlyVadim Petrochenkov-82/+77
Flatten `ModuleOrUniformRoot` variants
2018-11-25resolve: Fallback to uniform paths in 2015 imports used from global 2018 editionVadim Petrochenkov-37/+186
2018-11-25resolve: Implement edition hygiene for imports and absolute pathsVadim Petrochenkov-77/+226
Use per-span hygiene in a few other places in resolve Prefer `rust_2015`/`rust_2018` helpers to comparing editions
2018-11-25Remove duplicate tests for uniform pathsVadim Petrochenkov-312/+0
2018-11-25Auto merge of #56206 - petrochenkov:betaregr, r=alexcrichtonbors-34/+88
[beta] resolve: Fix some stable-to-beta regressions Fixes https://github.com/rust-lang/rust/issues/56182 (stable-to-beta regression) Fixes https://github.com/rust-lang/rust/issues/56187 (stable-to-beta regression)
2018-11-25resolve: Fix some more asserts in import validationVadim Petrochenkov-26/+63
2018-11-25resolve: Fix bad span arithmetics in import conflict diagnosticsVadim Petrochenkov-8/+25
2018-11-23Auto merge of #56174 - pietroalbini:beta-rollup, r=alexcrichtonbors-112/+285
[beta] Rollup backports * #56163: [master] Backport 1.30.1 release notes * #56147: resolve: Fix some asserts in import validation * #56118: Update books for Rust 2018 * #56117: resolve: Make "empty import canaries" invisible from other crates * #56065: Replace the ICEing on const fn loops with an error * #56143: Issue 56128 segment id ice nightly * #56134: Fix clippy documentation links (first in #56156) r? @ghost
2018-11-22Update clippy submoduleOliver Scherer-5/+5
2018-11-22Forward rust version number to toolsOliver Scherer-0/+2
Clippy uses it to identify the correct documentation to point to
2018-11-22Fix minor nomicon breakageAlex Crichton-0/+0
2018-11-22explain how this worksNiko Matsakis-1/+23
2018-11-22only reset non-restricted visibilitiesNiko Matsakis-15/+28
2018-11-22add compile-pass annotationNiko Matsakis-0/+2
2018-11-22hack: ignore list-stems for pub lintNiko Matsakis-1/+9
2018-11-22pass vis by shared referenceNiko Matsakis-6/+6
We are not mutating it now.
2018-11-22add regression testNiko Matsakis-0/+13
2018-11-22preserve the original visibility for the "list stem" nodeNiko Matsakis-4/+0
Without this, the `vis` does not wind up in the tree anywhere, and then we get ICEs because the node-ids it refers to are not present. The motivation seemed to be documentation, but `ListStem` HIR nodes are ignored in rustdoc, from what I can tell.
2018-11-22renumber segment ids for visibilities whenever we clone themNiko Matsakis-7/+17
2018-11-22add some `debug!` into loweringNiko Matsakis-0/+8
2018-11-22track the span for each id so that we can give a nice ICENiko Matsakis-29/+39
2018-11-22Replace the ICEing on const fn loops with an errorOliver Scherer-5/+16
2018-11-22resolve: Make "empty import canaries" invisible from other cratesVadim Petrochenkov-1/+15
2018-11-22update various stdlib docsSteve Klabnik-37/+22
2018-11-22fix more linksSteve Klabnik-12/+10
2018-11-22fix rustbuild to build all the booksSteve Klabnik-11/+15