Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 8 pull requests #69062

Merged
merged 37 commits into from
Feb 11, 2020
Merged

Rollup of 8 pull requests #69062

merged 37 commits into from
Feb 11, 2020

Commits on Feb 4, 2020

  1. Configuration menu
    Copy the full SHA
    109d5c1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bdacdf4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    095963f View commit details
    Browse the repository at this point in the history
  4. Remove unused feature gates from cg_llvm

    Also turns a few `box` into `Box::new`
    bjorn3 committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    f9971c5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c2da8b3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2a4596a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cf862df View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3e61d52 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2020

  1. Configuration menu
    Copy the full SHA
    d252791 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6638b86 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    74994af View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6305c68 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    341594e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1bfba4f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1a26c1c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8f672cd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b759999 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9d6bdcc View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    91d01e7 View commit details
    Browse the repository at this point in the history
  12. Rustfmt

    bjorn3 committed Feb 7, 2020
    Configuration menu
    Copy the full SHA
    e386656 View commit details
    Browse the repository at this point in the history
  13. Fix test

    bjorn3 committed Feb 7, 2020
    Configuration menu
    Copy the full SHA
    5827d78 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2020

  1. review comments

    estebank committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    d51f2bd View commit details
    Browse the repository at this point in the history
  2. Update for rust-lang#68718

    bjorn3 committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    3e57a0a View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2020

  1. Configuration menu
    Copy the full SHA
    b8893df View commit details
    Browse the repository at this point in the history
  2. use dyn Trait more in tests

    Centril committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    75afd0b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    87df124 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f667937 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2020

  1. Configuration menu
    Copy the full SHA
    6575abc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e20108f View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#66498 - bjorn3:less_feature_flags, r=Dylan-DPC

    Remove unused feature gates
    
    I think many of the remaining unstable things can be easily be replaced with stable things. I have kept the `#![feature(nll)]` even though it is only necessary in `libstd`, to make regressions of it harder.
    Dylan-DPC authored Feb 11, 2020
    Configuration menu
    Copy the full SHA
    ec0cfd1 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#68816 - estebank:fn-mut-closure, r=varkor

    Tweak borrow error on `FnMut` when `Fn` is expected
    
    Fix rust-lang#31701, fix rust-lang#66097.
    Dylan-DPC authored Feb 11, 2020
    Configuration menu
    Copy the full SHA
    b6024c4 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#68824 - ajpaverd:cfguard-rustbuild, r=Mark-…

    …Simulacrum
    
    Enable Control Flow Guard in rustbuild
    
    Now that Rust supports Control Flow Guard (rust-lang#68180), add a config.toml option to build the standard library with CFG enabled.
    
    r? @nagisa
    Dylan-DPC authored Feb 11, 2020
    Configuration menu
    Copy the full SHA
    c8c2b2b View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#69022 - ljedrz:traits_tweak_vecs, r=petroch…

    …enkov
    
    traits: preallocate 2 Vecs of known initial size
    
    The 2 preallocations are pretty obvious; both vectors will be as big as or larger than the collections they are created from.
    
    In `WfPredicates::normalize` the change from a functional style improves readability and should be perf-friendly, too.
    Dylan-DPC authored Feb 11, 2020
    Configuration menu
    Copy the full SHA
    d8b4abc View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#69031 - Centril:dyntest, r=eddyb

    Use `dyn Trait` more in tests
    
    Here are some tests using the old trait object type syntax which are not testing the syntax itself.
    
    This has been extracted from rust-lang#66364.
    Dylan-DPC authored Feb 11, 2020
    Configuration menu
    Copy the full SHA
    dc98cb0 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#69044 - jonas-schievink:dont-run-coherence-…

    …twice, r=davidtwco
    
    Don't run coherence twice for future-compat lints
    
    This fixes the regression introduced by rust-lang#65232 (which I mentioned in rust-lang#65232 (comment)).
    
    Old algorithm:
    * Run coherence with all future-incompatible checks off, reporting errors on any overlap.
    * If there's no overlap (common case), run it *again*, with the future-incompatible checks on. Report warnings for any overlap found.
    
    New algorithm:
    * Run coherence with all additional future-incompatible checks *on*, which means that we'll find *all* potentially overlapping impls immediately.
    * If this found overlap, run coherence again, with the future-incompatible checks off. If that *still* gives an error, we report it. If not, it ought to be a warning.
    
    This reduces time spent in coherence checking for the nrf52810-pac by roughly 50% relative to current master.
    Dylan-DPC authored Feb 11, 2020
    Configuration menu
    Copy the full SHA
    0ba5e8a View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#69047 - ehuss:rustfmt-vendor, r=Centril

    Don't rustfmt check the vendor directory.
    
    I need to be able to run `x.py tidy` to do license checks (which requires vendored dependencies).  However, when vendoring is enabled, it wants to rustfmt check the entire vendor directory, which doesn't work.
    Dylan-DPC authored Feb 11, 2020
    Configuration menu
    Copy the full SHA
    c88b349 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#69055 - GuillaumeGomez:clean-up-e0307, r=Dy…

    …lan-DPC
    
    Clean up E0307 explanation
    
    r? @Dylan-DPC
    Dylan-DPC authored Feb 11, 2020
    Configuration menu
    Copy the full SHA
    82a366a View commit details
    Browse the repository at this point in the history