summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
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-03Stable 1.31.0 releaseMark Rousskov-1/+1
2018-12-01Auto merge of #56380 - pietroalbini:backport-books, r=alexcrichtonbors-0/+1
[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-02Update RLS on betaNick Cameron-7/+7
2018-11-30Add the edition guide to doc.rust-lang.orgSteve Klabnik-0/+1
2018-11-30update nomiconSteve Klabnik-0/+0
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-26 Rollup merge of #56053 - petrochenkov:absedihyg, r=nikomatsakis,alexcrichtonPietro Albini-661/+983
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-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-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
2018-11-22update booksSteve Klabnik-0/+0
2018-11-22resolve: Fix some asserts in import validationVadim Petrochenkov-2/+71
2018-11-20Add a couple more testsVadim Petrochenkov-1/+31
2018-11-20Stabilize `extern_crate_item_prelude`Vadim Petrochenkov-149/+9
2018-11-20Update the `cargo_metadata` dependencyAlex Crichton-7/+7
Needed by rustfmt!
2018-11-20Update RLS and RustfmtNiko Matsakis-71/+92
2018-11-20Update clippy module to fix breakageAlex Crichton-19/+5