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 18 pull requests #59223

Closed
wants to merge 47 commits into from
Closed

Rollup of 18 pull requests #59223

wants to merge 47 commits into from

Commits on Mar 9, 2019

  1. Configuration menu
    Copy the full SHA
    967e7f4 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2019

  1. Configuration menu
    Copy the full SHA
    4888b1f View commit details
    Browse the repository at this point in the history
  2. enabled too many tests

    RalfJung committed Mar 10, 2019
    Configuration menu
    Copy the full SHA
    52d9fa8 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2019

  1. Configuration menu
    Copy the full SHA
    b9d12ed View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2019

  1. Configuration menu
    Copy the full SHA
    795d307 View commit details
    Browse the repository at this point in the history
  2. review comments

    estebank committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    f923476 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2019

  1. Make std time tests more robust for platform differences

    Jethro Beekman committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    adbd0a6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0ea9b58 View commit details
    Browse the repository at this point in the history
  3. Stabilize Range*::contains.

    smmalis37 committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    266ca31 View commit details
    Browse the repository at this point in the history
  4. Fix operator precedence

    estebank committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    27abd52 View commit details
    Browse the repository at this point in the history
  5. Add test for rust-lang#55809.

    This commit adds a regression test for rust-lang#55809 which checks that a
    overflow does not occur when evaluating a requirement for async
    functions and `&mut` arguments in some specific circumstances.
    davidtwco committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    9d938f6 View commit details
    Browse the repository at this point in the history
  6. Fix generic argument lookup for Self

    Rewrite the SelfCtor early and use the replacement Def when
    calculating the path_segs.
    
    Note that this also changes which def is seen by the code that
    computes user_self_ty and is_alias_variant_ctor; I don't see a
    immediate issue with that, but I'm not 100% clear on the
    implications.
    
    Fixes rust-lang#57924
    Angelos Oikonomopoulos committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    311025e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5abd6d9 View commit details
    Browse the repository at this point in the history
  8. test that wildcard type _ is not duplicated by `type Foo<X> = (X, X…

    …);` and potentially instantiated at different types.
    
    (Updated to reflect changes in diagnostic output and compiletest infrastructure.)
    pnkfelix committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    4e5692d View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2019

  1. Configuration menu
    Copy the full SHA
    ab19e58 View commit details
    Browse the repository at this point in the history
  2. Update sources.rs

    The current language may be amusing, yet is just imprecise and most especially difficult to understand for someone who speaks English as a foreign language.
    lukaslueg authored Mar 14, 2019
    Configuration menu
    Copy the full SHA
    d1fcd86 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fa8fd3d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7c59ce9 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2019

  1. Output diagnostic information for rustdoc.

    Use the information same as rustc.
    o01eg committed Mar 15, 2019
    Configuration menu
    Copy the full SHA
    bcf1a17 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9445f2b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6d73a8f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8ff2198 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2f52388 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e9e5a75 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    12e3e84 View commit details
    Browse the repository at this point in the history
  8. Remove restriction on isize/usize in repr(simd)

    As discussed in rust-lang#55078, there's no known reason for this restriction.
    
    It's unlikely that repr(simd) will be stabilized in its current form, but
    might as well remove some restrictions on it.
    
    This removes the branch in `is_machine` which returns false for these types.
    `is_machine` is only used for the repr(simd) type validation check.
    lambda committed Mar 15, 2019
    Configuration menu
    Copy the full SHA
    5303c1b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9c7bf76 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    50af62d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a8fa1a1 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2019

  1. Rollup merge of rust-lang#57729 - pnkfelix:issue-55748-pat-types-are-…

    …constraints-on-bindings-too, r=nikomatsakis
    
    extra testing of how NLL handles wildcard type `_`
    
    test that wildcard type `_` is not duplicated by `type Foo<X> = (X, X);` and potentially instantiated at different types when used in type ascriptions in let bindings.
    
    (NLL's handling of this for the type ascription *expression form* is currently broken, or at least differs from what AST-borrowck does. I'll file a separate bug about that. Its not something critical to address since that expression is guarded by `#![feature(type_ascription)]`.)
    
    cc rust-lang#55748
    Centril authored Mar 16, 2019
    Configuration menu
    Copy the full SHA
    5a65c5b View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#59025 - aoikonomopoulos:issue-57924, r=varkor

    Fix generic argument lookup for Self
    
    Rewrite the SelfCtor early and use the replacement Def when
    calculating the path_segs.
    
    Note that this also changes which def is seen by the code that
    computes user_self_ty and is_alias_variant_ctor; I don't see a
    immediate issue with that, but I'm not 100% clear on the
    implications.
    
    Fixes rust-lang#57924
    
    r? @eddyb
    Centril authored Mar 16, 2019
    Configuration menu
    Copy the full SHA
    e45828c View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#59047 - petrochenkov:modnodefid, r=Centril

    resolve: Account for new importable entities
    
    Fixes the ICE encountered in rust-lang#58837
    r? @Centril
    Centril authored Mar 16, 2019
    Configuration menu
    Copy the full SHA
    6e133e4 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#59072 - RalfJung:miri-alloc-tests, r=kennytm

    we can now skip should_panic tests with the libtest harness
    Centril authored Mar 16, 2019
    Configuration menu
    Copy the full SHA
    5429232 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#59079 - euclio:macro-semi, r=estebank

    add suggestions to invalid macro item error
    
    r? @estebank
    Centril authored Mar 16, 2019
    Configuration menu
    Copy the full SHA
    d050067 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#59116 - estebank:comma-sugg, r=petrochenkov

    Be more discerning on when to attempt suggesting a comma in a macro invocation
    
    Fix rust-lang#58796.
    Centril authored Mar 16, 2019
    Configuration menu
    Copy the full SHA
    e371eef View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#59146 - estebank:suggest-return-lt, r=varkor

    Suggest return lifetime when there's only one named lifetime
    
    Fix rust-lang#29094.
    Centril authored Mar 16, 2019
    Configuration menu
    Copy the full SHA
    06c2a0f View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#59147 - jethrogb:jb/time-tests, r=sfackler

    Make std time tests more robust for platform differences
    
    Previously, `time::tests::since_epoch` and `time::tests::system_time_math` would fail if the platform represents a SystemTime as unix epoch + `u64` nanoseconds.
    
    r? @sfackler
    Centril authored Mar 16, 2019
    Configuration menu
    Copy the full SHA
    adf0927 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#59152 - smmalis37:range_contains, r=SimonSapin

    Stabilize Range*::contains.
    
    Closes rust-lang#32311. There's also a bit of rustfmt on range.rs thrown in for good measure (I forgot to turn off format-on-save in VSCode).
    Centril authored Mar 16, 2019
    Configuration menu
    Copy the full SHA
    b96e8fe View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#59156 - davidtwco:issue-55809, r=nikomatsakis

    [wg-async-await] Add regression test for rust-lang#55809.
    
    Fixes rust-lang#55809.
    
    This PR adds a regression test for rust-lang#55809 which checks that a
    overflow does not occur when evaluating a requirement for async
    functions and `&mut` arguments in some specific circumstances.
    Centril authored Mar 16, 2019
    Configuration menu
    Copy the full SHA
    2aa2f25 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#59169 - tmandry:allow-features-flag, r=cram…

    …ertj
    
    Add `-Z allow_features=...` flag
    
    Adds a compiler option to allow only whitelisted features.
    
    For projects on nightly that want to prevent feature-creep (and maybe, someday, move off of nightly). Not being able to enforce this has been a problem on Fuchsia and at other big companies.
    
    This doesn't support filtering edition feature flags, but someone is welcome to add that if they need it.
    Centril authored Mar 16, 2019
    Configuration menu
    Copy the full SHA
    ff17858 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#59180 - taiki-e:try_blocks, r=scottmcm

    Use try blocks in rustc_codegen_ssa
    
    r? @scottmcm
    Centril authored Mar 16, 2019
    Configuration menu
    Copy the full SHA
    d7aa140 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#59185 - lukaslueg:patch-2, r=cramertj

    No old chestnuts in iter::repeat docs
    
    The current language may be amusing, yet is just imprecise and most especially difficult to understand for someone who speaks English as a foreign language.
    Centril authored Mar 16, 2019
    Configuration menu
    Copy the full SHA
    83d736f View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#59201 - lambda:remove-repr-simd-isize-usize…

    …-restriction, r=alexcrichton
    
    Remove restriction on isize/usize in repr(simd)
    
    As discussed in rust-lang#55078, there's no known reason for this restriction.
    
    It's unlikely that repr(simd) will be stabilized in its current form, but
    might as well remove some restrictions on it.
    
    This removes the branch in `is_machine` which returns false for these types.
    `is_machine` is only used for the repr(simd) type validation check.
    Centril authored Mar 16, 2019
    Configuration menu
    Copy the full SHA
    e3258bd View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#59204 - o01eg:diag-rustdoc, r=alexcrichton

    Output diagnostic information for rustdoc
    
    Use the information same as rustc.
    Centril authored Mar 16, 2019
    Configuration menu
    Copy the full SHA
    608436b View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#59206 - sntdevco:master, r=dtolnay

    Improved test output
    Centril authored Mar 16, 2019
    Configuration menu
    Copy the full SHA
    952808e View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#59208 - kenta7777:reduce-code-repetition, r…

    …=oli-obk
    
    Reduce a Code Repetition Related to Bit Operation
    
    This PR is related to [rust-lang#49937](rust-lang#49937).
    Should I do more commits about [`FIXME(49937)`](https://github.com/rust-lang/rust/search?q=FIXME%2849937%29&unscoped_q=FIXME%2849937%29) in this PR?
    Centril authored Mar 16, 2019
    Configuration menu
    Copy the full SHA
    cc028e2 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#59212 - mati865:musl_toolchain, r=alexcrichton

    Add x86_64 musl host to the manifest
    
    @alexcrichton r?
    
    Probably too late for rust-lang#59207
    Centril authored Mar 16, 2019
    Configuration menu
    Copy the full SHA
    b5e0692 View commit details
    Browse the repository at this point in the history