Permalink
Tree: 2e08bb1dd2
Commits on Feb 10, 2019
  1. Auto merge of #58339 - Mark-Simulacrum:embedded-book, r=Mark-Simulacrum

    bors committed Feb 10, 2019
    Add EmbeddedBook to test list in bootstrap
    
    r? @alexcrichton
  2. Add EmbeddedBook to test list in bootstrap

    Mark-Simulacrum committed Feb 10, 2019
  3. Auto merge of #57770 - Zoxc:no-hash-query, r=michaelwoerister

    bors committed Feb 10, 2019
    Add a query type which is always marked as red if it runs
    
    This is useful for queries which produce results which are very likely to change if their inputs do.
    
    I also expect this to be useful for end to end queries because 1) we don't need `HashStable` impls and 2) we avoid the overhead of hashing the result of large results like the AST or the HIR map.
    
    r? @michaelwoerister
Commits on Feb 9, 2019
  1. Auto merge of #58065 - alexreg:refactor-smart_resolve_path_fragment, …

    bors committed Feb 9, 2019
    …r=petrochenkov
    
    Factor out error reporting from `smart_resolve_path_fragment` fn
    
    This function was ridiculously monolithic before. We now have three rather-less-monolithic-and-horrifying functions.
    
    r? @Centril
  2. Auto merge of #57944 - estebank:unclosed-delim-the-quickening, r=oli-obk

    bors committed Feb 9, 2019
    Deduplicate mismatched delimiter errors
    
    Delay unmatched delimiter errors until after the parser has run to deduplicate them when parsing and attempt recovering intelligently.
    
    Second attempt at #54029, follow up to #53949. Fix #31528.
  3. Auto merge of #57885 - arielb1:xform-probe, r=nikomatsakis

    bors committed Feb 9, 2019
    Avoid committing to autoderef in object method probing
    
    This fixes the "leak" introduced in #57835 (see test for details, also apparently #54252 had no tests for the "leaks" that were fixed in it, so go ahead and add one).
    
    Maybe beta-nominating because regression, but I'm against landing things on beta we don't have to.
    
    r? @nikomatsakis
  4. Auto merge of #58207 - nnethercote:intern_lazy_const, r=oli-obk

    bors committed Feb 9, 2019
    Make `intern_lazy_const` actually intern its argument.
    
    Currently it just unconditionally allocates it in the arena.
    
    For a "Clean Check" build of the the `packed-simd` benchmark, this
    change reduces both the `max-rss` and `faults` counts by 59%; it
    slightly (~3%) increases the instruction counts but the `wall-time` is
    unchanged.
    
    For the same builds of a few other benchmarks, `max-rss` and `faults`
    drop by 1--5%, but instruction counts and `wall-time` changes are in the
    noise.
    
    Fixes #57432, fixes #57829.
  5. Auto merge of #57617 - mark-i-m:multiple-matcher-bindings, r=petroche…

    bors committed Feb 9, 2019
    …nkov
    
    Error on duplicate matcher bindings
    
    fix  #57593
    
    This should not be merged without a crater run and maybe an FCP. Discussion is ongoing at  #57593.
    
    TODO:
    - [x] write tests
    - [x] crater run
    - [x] ~maybe need edition gating?~ not for 1 regression /centril
    
    r? @petrochenkov
  6. Auto merge of #57184 - varkor:deny-warnings-lib, r=Mark-Simulacrum

    bors committed Feb 9, 2019
    Deny warnings in libcore and libstd
    
    This probably fixes #57178 (though there may still be some crates that need warnings denied). At least after this change, rustc currently produces no warnings during compilation.
    
    r? @oli-obk
  7. Auto merge of #58316 - Centril:rollup, r=Centril

    bors committed Feb 9, 2019
    Rollup of 18 pull requests
    
    Successful merges:
    
     - #58091 (Transition compiletest to Rust 2018)
     - #58115 (Transition rustdoc to 2018 edition)
     - #58120 (Transition build_helper to 2018 edition)
     - #58222 (librustc_allocator => 2018)
     - #58233 (librustc_save_analysis => 2018)
     - #58245 (librustc_lint => 2018)
     - #58247 (librustc_passes => 2018)
     - #58251 (Transition librustc_traits to 2018 edition)
     - #58255 (librustc_metadata => 2018)
     - #58256 (librustc_cratesio_shim => 2018)
     - #58257 (librustc_target => 2018)
     - #58259 (librustc_codegen_utils => 2018)
     - #58260 (librustc_borrowck => 2018)
     - #58261 (librustc_incremental => 2018)
     - #58265 (librustc_mir => 2018)
     - #58275 (libcore, liballoc: disable tests in Miri)
     - #58285 (error_index_generator => 2018)
     - #58312 (librustc_data_structures => 2018)
    
    Failed merges:
    
    r? @ghost
Commits on Feb 8, 2019
  1. Rollup merge of #58312 - taiki-e:librustc_data_structures-2018, r=Cen…

    Centril committed Feb 8, 2019
    …tril
    
    librustc_data_structures => 2018
    
    Transitions `librustc_data_structures` to Rust 2018; cc #58099
    
    r? @Centril
  2. Rollup merge of #58285 - taiki-e:error_index_generator-2018, r=Centril

    Centril committed Feb 8, 2019
    error_index_generator => 2018
    
    Transitions `error_index_generator` to Rust 2018; cc #58099
    
    r? @Centril
  3. Rollup merge of #58275 - RalfJung:miri-test-libcore, r=Mark-Simulacrum

    Centril committed Feb 8, 2019
    libcore, liballoc: disable tests in Miri
    
    I am going to run the libcore and liballoc unit test suites in Miri.  Not all tests pass.  This PR disables a whole bunch of tests when running in Miri, to get us to a baseline from which I can investigate failures.
    
    Cc @SimonSapin @alexcrichton
  4. Rollup merge of #58265 - taiki-e:librustc_mir-2018, r=matthewjasper

    Centril committed Feb 8, 2019
    librustc_mir => 2018
    
    Transitions `librustc_mir` to Rust 2018; cc #58099
    
    TODO: ~~elided_lifetimes_in_paths~~
    
    r? @Centril
  5. Rollup merge of #58261 - taiki-e:librustc_incremental-2018, r=Centril

    Centril committed Feb 8, 2019
    librustc_incremental => 2018
    
    Transitions `librustc_incremental` to Rust 2018; cc #58099
    
    r? @Centril
  6. Rollup merge of #58260 - taiki-e:librustc_borrowck-2018, r=Centril

    Centril committed Feb 8, 2019
    librustc_borrowck => 2018
    
    Transitions `librustc_borrowck` to Rust 2018; cc #58099
    
    r? @Centril
  7. Rollup merge of #58259 - taiki-e:librustc_codegen_utils-2018, r=Centril

    Centril committed Feb 8, 2019
    librustc_codegen_utils => 2018
    
    Transitions `librustc_codegen_utils` to Rust 2018; cc #58099
    
    r? @Centril
  8. Rollup merge of #58257 - taiki-e:librustc_target-2018, r=Centril

    Centril committed Feb 8, 2019
    librustc_target => 2018
    
    Transitions `librustc_target` to Rust 2018; cc #58099
    
    r? @Centril
  9. Rollup merge of #58256 - taiki-e:librustc_cratesio_shim-2018, r=Centril

    Centril committed Feb 8, 2019
    librustc_cratesio_shim => 2018
    
    Transitions `librustc_cratesio_shim` to Rust 2018; cc #58099
    
    r? @Centril
  10. Rollup merge of #58255 - taiki-e:librustc_metadata-2018, r=Centril

    Centril committed Feb 8, 2019
    librustc_metadata => 2018
    
    Transitions `librustc_metadata` to Rust 2018; cc #58099
    
    r? @Centril
  11. Rollup merge of #58251 - h-michael:librustc_traits-2018, r=Centril

    Centril committed Feb 8, 2019
    Transition librustc_traits to 2018 edition
    
    Transitions librustc_traits to Rust 2018; cc #58099
    r? @Centril
  12. Rollup merge of #58247 - taiki-e:librustc_passes-2018, r=Centril

    Centril committed Feb 8, 2019
    librustc_passes => 2018
    
    Transitions `librustc_passes` to Rust 2018; cc #58099
    
    r? @Centril
  13. Rollup merge of #58245 - taiki-e:librustc_lint-2018, r=Centril

    Centril committed Feb 8, 2019
    librustc_lint => 2018
    
    Transitions `librustc_lint` to Rust 2018; cc #58099
    
    r? @Centril
  14. Rollup merge of #58233 - taiki-e:librustc_save_analysis-2018, r=Centril

    Centril committed Feb 8, 2019
    librustc_save_analysis => 2018
    
    Transitions `librustc_save_analysis` to Rust 2018; cc #58099
    
    r? @Centril
  15. Rollup merge of #58222 - taiki-e:librustc_allocator-2018, r=Centril

    Centril committed Feb 8, 2019
    librustc_allocator => 2018
    
    Transitions `librustc_allocator` to Rust 2018; cc #58099
    
    r? @Centril
  16. Rollup merge of #58120 - h-michael:build_helper-theme-2018, r=Centril

    Centril committed Feb 8, 2019
    Transition build_helper to 2018 edition
    
    Transitions build_helper to Rust 2018; cc #58099
    r? @Centril
  17. Rollup merge of #58115 - h-michael:rustdoc-2018, r=Centril

    Centril committed Feb 8, 2019
    Transition rustdoc to 2018 edition
    
    Transitions rustdoc to Rust 2018; cc #58099
  18. Rollup merge of #58091 - phansch:compiletest2018, r=Centril

    Centril committed Feb 8, 2019
    Transition compiletest to Rust 2018
    
    This transitions `src/tools/compiletest` to Rust 2018.
    
    cc #58099
  19. Auto merge of #58161 - davidtwco:issue-57960, r=arielb1

    bors committed Feb 8, 2019
    Lower constant patterns with ascribed types.
    
    Fixes #57960.
    
    This PR fixes a bug introduced by #55937 which started checking user
    type annotations for associated type patterns. Where lowering a
    associated constant expression would previously return a
    `PatternKind::Constant`, it now returns a `PatternKind::AscribeUserType`
    with a `PatternKind::Constant` inside, this PR unwraps that to
    access the constant pattern inside and behaves as before.
    
    r? @pnkfelix
  20. librustc_data_structures => 2018

    taiki-e committed Feb 8, 2019
  21. Deny warnings in std stage 0

    varkor committed Feb 8, 2019
  22. Auto merge of #58294 - hrls:master, r=GuillaumeGomez

    bors committed Feb 8, 2019
    fix rustdoc JS
    
    #58290
  23. librustc_incremental => 2018

    taiki-e committed Feb 8, 2019
  24. librustc_borrowck => 2018

    taiki-e committed Feb 8, 2019
  25. librustc_codegen_utils => 2018

    taiki-e committed Feb 8, 2019