Skip to content
Permalink
Tree: 122fefc63e
Commits on Sep 10, 2019
  1. Auto merge of #64321 - Centril:rollup-jsj5tpl, r=Centril

    bors committed Sep 10, 2019
    Rollup of 5 pull requests
    
    Successful merges:
    
     - #63806 (Upgrade rand to 0.7)
     - #64054 (Always emit unresolved import errors and hide unused import lint)
     - #64279 (Bump RLS and Rustfmt submodules to use rustc-ap-* v583)
     - #64317 (Update LLVM submodule)
     - #64320 (Update version of `rustc-std-workspace-*` crates)
    
    Failed merges:
    
    r? @ghost
Commits on Sep 9, 2019
  1. Rollup merge of #64320 - alexcrichton:update-patch, r=RalfJung

    Centril committed Sep 9, 2019
    Update version of `rustc-std-workspace-*` crates
    
    This commit updates the version of the `rustc-std-workspace-*` crates
    in-tree which are used in `[patch]`. This will guarantee that Cargo will
    select these versions even if minor updates are published to crates.io
    because otherwise a newer version on crates.io would be preferred which
    misses the point of `[patch]`!
  2. Rollup merge of #64317 - nikic:bump-llvm-3, r=alexcrichton

    Centril committed Sep 9, 2019
    Update LLVM submodule
    
    Updates the LLVM submodule to current LLVM 9 HEAD.
    
    Fixes #63918.
    Fixes #63791.
    
    r? @alexcrichton
  3. Rollup merge of #64279 - Xanewok:bump-rustc-ap, r=tmandry

    Centril committed Sep 9, 2019
    Bump RLS and Rustfmt submodules to use rustc-ap-* v583
    
    Closes #64180
    Closes #64179
    
    r? @topecongiro
  4. Rollup merge of #64054 - estebank:unused-import-is-to-eager, r=petroc…

    Centril committed Sep 9, 2019
    …henkov
    
    Always emit unresolved import errors and hide unused import lint
    
    Fix #63724.
    
    r? @petrochenkov
  5. Rollup merge of #63806 - mati865:rand, r=alexcrichton

    Centril committed Sep 9, 2019
    Upgrade rand to 0.7
    
    Also upgrades `getrandom` to avoid bug encountered by #61393 which bumps libc to `0.2.62`.
  6. Update version of `rustc-std-workspace-*` crates

    alexcrichton committed Sep 9, 2019
    This commit updates the version of the `rustc-std-workspace-*` crates
    in-tree which are used in `[patch]`. This will guarantee that Cargo will
    select these versions even if minor updates are published to crates.io
    because otherwise a newer version on crates.io would be preferred which
    misses the point of `[patch]`!
  7. Update LLVM submodule

    nikic committed Sep 9, 2019
  8. Auto merge of #64313 - Centril:rollup-7w8b67g, r=Centril

    bors committed Sep 9, 2019
    Rollup of 5 pull requests
    
    Successful merges:
    
     - #63468 (Resolve attributes in several places)
     - #64121 (Override `StepBy::{try_fold, try_rfold}`)
     - #64278 (check git in bootstrap.py)
     - #64306 (Fix typo in config.toml.example)
     - #64312 (Unify escape usage)
    
    Failed merges:
    
    r? @ghost
  9. cargo update -p rustfmt-nightly

    Xanewok committed Sep 8, 2019
  10. Rollup merge of #64312 - GuillaumeGomez:rustdoc-better-esc-handling, …

    Centril committed Sep 9, 2019
    …r=Mark-Simulacrum
    
    Unify escape usage
    
    Fixes #63443.
    
    I chose to keep the search text when pressing escape so when we focus on the search bar, we got the results again without needing to load them again. I also unified a bit a few things (maybe I should have done it in another commit, sorry...).
    
    r? @Mark-Simulacrum
  11. Rollup merge of #64306 - lukas-code:patch-1, r=jonas-schievink

    Centril committed Sep 9, 2019
    Fix typo in config.toml.example
  12. Rollup merge of #64278 - guanqun:check-git, r=Mark-Simulacrum

    Centril committed Sep 9, 2019
    check git in bootstrap.py
  13. Rollup merge of #64121 - timvermeulen:iter_step_by_internal, r=scottmcm

    Centril committed Sep 9, 2019
    Override `StepBy::{try_fold, try_rfold}`
    
    Previous PR: #51435
    
    The previous PR was closed in favor of #51601, which was later reverted. I don't think these implementations will make it harder to specialize `StepBy<Range<_>>` later, so we should be able to land this without any consequences.
    
    This should fix #57517 – in my benchmarks `iter` and `iter.step_by(1)` now perform equally well, provided internal iteration is used.
  14. Rollup merge of #63468 - c410-f3r:attrs, r=petrochenkov

    Centril committed Sep 9, 2019
    Resolve attributes in several places
    
    Resolve attributes for Arm, Field, FieldPat, GenericParam, Param, StructField and Variant.
    
    This PR is based on @petrochenkov work located at petrochenkov@83fdb8d.
  15. Unify escape usage

    GuillaumeGomez committed Sep 9, 2019
  16. check git in bootstrap.py when trying to update submodule

    guanqun committed Sep 4, 2019
  17. Auto merge of #63118 - Centril:stabilize-bind-by-move, r=matthewjasper

    bors committed Sep 9, 2019
    Stabilize `bind_by_move_pattern_guards` in Rust 1.39.0
    
    Closes #15287.
    
    After stabilizing `#![feature(bind_by_move_pattern_guards)]`, you can now use bind-by-move bindings in patterns and take references to those bindings in `if` guards of `match` expressions. For example, the following now becomes legal:
    
    ```rust
    fn main() {
        let array: Box<[u8; 4]> = Box::new([1, 2, 3, 4]);
    
        match array {
            nums
    //      ---- `nums` is bound by move.
                if nums.iter().sum::<u8>() == 10
    //                 ^------ `.iter()` implicitly takes a reference to `nums`.
            => {
                drop(nums);
    //          --------- Legal as `nums` was bound by move and so we have ownership.
            }
            _ => unreachable!(),
        }
    }
    ```
    
    r? @matthewjasper
  18. Resolve attributes in several places

    c410-f3r committed Sep 9, 2019
    Arm, Field, FieldPat, GenericParam, Param, StructField and Variant
  19. Fix typo in config.toml.example

    lukas-code committed Sep 9, 2019
  20. Auto merge of #64237 - estebank:tweak-method-not-found, r=Centril

    bors committed Sep 9, 2019
    Give method not found a primary span label
  21. Auto merge of #64195 - mark-i-m:update-rustc-guide-1, r=ehuss

    bors committed Sep 9, 2019
    Update rustc-guide
    
    r? @ehuss
  22. Give method not found a primary span label

    estebank committed Sep 6, 2019
  23. update guide

    mark-i-m committed Sep 6, 2019
  24. update rustc-guide

    mark-i-m committed Sep 5, 2019
  25. Auto merge of #64108 - estebank:issue-36836, r=Centril

    bors committed Sep 9, 2019
    Do not complain about unconstrained params when Self is Ty Error
    
    Fix #36836.
Commits on Sep 8, 2019
  1. Auto merge of #64293 - Centril:rollup-blnhxwl, r=Centril

    bors committed Sep 8, 2019
    Rollup of 4 pull requests
    
    Successful merges:
    
     - #64078 (compiletest: disable -Aunused for run-pass tests)
     - #64263 (Replace "feature gated" wording with "unstable".)
     - #64280 (Factor out pluralisation into syntax::errors)
     - #64288 (use 'get_toml' instead of regular expression)
    
    Failed merges:
    
    r? @ghost
  2. Rollup merge of #64288 - guanqun:use-get-toml, r=Mark-Simulacrum

    Centril committed Sep 8, 2019
    use 'get_toml' instead of regular expression
  3. Rollup merge of #64280 - V1shvesh:master, r=Centril

    Centril committed Sep 8, 2019
    Factor out pluralisation into syntax::errors
    
    Fixes #64238.
  4. Rollup merge of #64263 - crlf0710:improve_wording, r=petrochenkov

    Centril committed Sep 8, 2019
    Replace "feature gated" wording with "unstable".
  5. Rollup merge of #64078 - Mark-Simulacrum:compiletest-lint-unused, r=p…

    Centril committed Sep 8, 2019
    …etrochenkov
    
    compiletest: disable -Aunused for run-pass tests
    
    Disabled the flag, but that led to quite a bit of fall out -- I think most of it is benign but I've not investigated thoroughly.
    
    r? @petrochenkov
  6. Always emit unresolved import errors and hide unused import lint

    estebank committed Sep 1, 2019
  7. Dedent macro definition

    V1shvesh committed Sep 8, 2019
  8. Remove extra trailing newline

    V1shvesh committed Sep 8, 2019
Older
You can’t perform that action at this time.