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 #59161

Closed
wants to merge 52 commits into from
Closed

Commits on Mar 8, 2019

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

Commits on Mar 9, 2019

  1. Configuration menu
    Copy the full SHA
    9aa89b2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    94a6936 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    967e7f4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a4ea084 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2019

  1. Fix ICE in MIR pretty printing

    A `Def::Variant` should be considered as a function in mir pretty
    printing. Each variant has a constructor that we must print.
    
    Given the following enum definition:
    
    ```
    pub enum TestMe {
        X(usize),
    }
    ```
    
    We will need to generate a constructor for the variant `X` with a
    signature that looks something like the following:
    
    ```
    fn TestMe::X(_1: usize) -> TestMe;
    ```
    dlrobertson committed Mar 10, 2019
    Configuration menu
    Copy the full SHA
    3a83cb2 View commit details
    Browse the repository at this point in the history
  2. Update src/tools/publish_toolstate.py

    Co-Authored-By: kennytm <kennytm@gmail.com>
    jamesmunns and kennytm committed Mar 10, 2019
    Configuration menu
    Copy the full SHA
    135b686 View commit details
    Browse the repository at this point in the history
  3. Fix tidy

    kennytm committed Mar 10, 2019
    Configuration menu
    Copy the full SHA
    d6f5100 View commit details
    Browse the repository at this point in the history
  4. CI: Set job names.

    This should make it easier to identify what each job is doing when looking at the Travis or Appveyor UI.
    
    - Set `name` for each job in Travis.
    - Move `CI_JOB_NAME` to the front in Appveyor so that it appears first in the UI.
    ehuss committed Mar 10, 2019
    Configuration menu
    Copy the full SHA
    8371377 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4888b1f View commit details
    Browse the repository at this point in the history
  6. 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
    8629fd3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e25df32 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    35c19c5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d4b2071 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    02f26e3 View commit details
    Browse the repository at this point in the history
  6. fix tests

    newpavlov committed Mar 11, 2019
    Configuration menu
    Copy the full SHA
    980871a View commit details
    Browse the repository at this point in the history
  7. fix test

    newpavlov committed Mar 11, 2019
    Configuration menu
    Copy the full SHA
    197efb0 View commit details
    Browse the repository at this point in the history
  8. 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. fix typo

    newpavlov committed Mar 12, 2019
    Configuration menu
    Copy the full SHA
    78b248d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    df2dce3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    54bf8e0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5074489 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    79695ea View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ca32fe4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    df05fbf View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    795d307 View commit details
    Browse the repository at this point in the history
  9. 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. 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
  4. 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
  5. Configuration menu
    Copy the full SHA
    856b081 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#59009 - sfackler:fix-sgx-vectors, r=alexcri…

    …chton
    
    Fix SGX implementations of read/write_vectored.
    pietroalbini committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    ba9323f View commit details
    Browse the repository at this point in the history
  7. 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
    pietroalbini committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    ae5856f View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#59035 - estebank:closure-instacall, r=david…

    …twco
    
    When encountetring `||{}()`, suggest the likely intended `(||{})()`
    
    Fix rust-lang#55851.
    pietroalbini committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    321ed9a View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#59036 - dlrobertson:fix_59021, r=estebank

    Fix ICE in MIR pretty printing
    
    A `Def::Variant` should be considered as a function in mir pretty
    printing. Each variant has a constructor that we must print.
    
    Given the following enum definition:
    
    ```rust
    pub enum TestMe {
        X(usize),
    }
    ```
    
    We will need to generate a constructor for the variant `X` with a
    signature that looks something like the following:
    
    ```
    fn TestMe::X(_1: usize) -> TestMe;
    ```
    
    Fixes: rust-lang#59021
    pietroalbini committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    a0f0b1b View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#59037 - Manishearth:intra-doc-false, r=Quie…

    …tMisdreavus
    
    Avoid some common false positives in intra doc link checking
    
    The empty string case is never going to be a link. The numeric case may be a link, but if it were it would have resolved locally. It's more likely the makeshift markdown footnote notation (`[0]`, etc)
    
    r? @QuietMisdreavus
    pietroalbini committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    b0d7611 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#59038 - kennytm:track-embedded-book, r=oli-obk

    Track embedded-book in the toolstate
    
    The embedded book was tested in the tools job but the test result was never published. This PR adds maintainer information of embedded-book. This PR also requires the next update to embedded-book to pass the all tests, currently its state is test-fail.
    
    rust-lang-nursery/rust-toolstate#10 should be merged before this PR.
    pietroalbini committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    33bb3dc View commit details
    Browse the repository at this point in the history
  12. 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
    pietroalbini committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    3da9ee8 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#59055 - ehuss:ci-job-name, r=alexcrichton

    CI: Set job names.
    
    This should make it easier to identify what each job is doing when looking at the Travis or Appveyor UI.
    
    - Set `name` for each job in Travis.
    - Move `CI_JOB_NAME` to the front in Appveyor so that it appears first in the UI.
    pietroalbini committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    298265c View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#59072 - RalfJung:miri-alloc-tests, r=kennytm

    we can now skip should_panic tests with the libtest harness
    pietroalbini committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    03b2462 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#59082 - alexreg:cosmetic-2-doc-comments, r=…

    …Centril
    
    A few improvements to comments in user-facing crates
    
    Not too many this time, and all concern comments (almost all doc comments) in user-facing crates (libstd, libcore, liballoc).
    
    r? @steveklabnik
    pietroalbini committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    e2ef3e2 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#59096 - ljedrz:HirIdify_AccessLevel, r=Zoxc

    middle: replace NodeId with HirId in AccessLevels
    
    Pushing the limits of HirIdification (rust-lang#57578).
    
    Replaces `NodeId` with `HirId` in `middle::privacy::AccessLevels`. Actually this time I was more successful and cracked it; I probably tried to HirIdify too much at once when I attempted it last time ^^.
    
    r? @Zoxc
    pietroalbini committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    153fd15 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#59102 - newpavlov:duration_float, r=alexcri…

    …chton
    
    Consistent naming for duration_float methods and additional f32 methods
    
    `duration_float` tracking issue: rust-lang#54361
    
    New list of methods:
    - `as_secs_f64(&self) -> f64`
    - `as_secs_f32(&self) -> f32`
    - `from_secs_f64(secs: f64) -> Duration`
    - `from_secs_f32(secs: f32) -> Duration`
    - `mul_f64(self, rhs: f64) -> Duration`
    - `mul_f32(self, rhs: f32) -> Duration`
    - `div_f64(self, rhs: f64) -> Duration`
    - `div_f32(self, rhs: f64) -> Duration`
    - `div_duration_f64(self, rhs: Duration) -> f64`
    - `div_duration_f32(self, rhs: Duration) -> f32`
    
    With [`num_traits::Float`](https://docs.rs/num-traits/0.2.6/num_traits/float/trait.Float.html) we could've reduced number of methods by factor of two, but unfortunately it's not part of `std`.
    pietroalbini committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    a7ecf5f View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#59106 - LinusU:udp-peer-addr, r=kennytm

    Add peer_addr function to UdpSocket
    
    Fixes rust-lang#59104
    
    This is my first pull request to Rust, so opening early for some feedback.
    
    My biggest question is: where do I add tests?
    
    Any comments very much appreciated!
    pietroalbini committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    5b613a8 View commit details
    Browse the repository at this point in the history
  19. 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.
    pietroalbini committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    4f01679 View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#59118 - seanmonstar:alias-where-self-ice, r…

    …=alexreg
    
    rustc: fix ICE when trait alias has bare Self
    
    Fixes rust-lang#59029
    pietroalbini committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    005debc View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#59139 - oli-obk:unions_are_a_good_thing, r=…

    …RalfJung
    
    Unregress using scalar unions in constants.
    
    fixes rust-lang#59126
    
    r? @RalfJung
    
    I also made a bunch of these invariants panic instead of report an error.
    pietroalbini committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    7be9dec View commit details
    Browse the repository at this point in the history
  22. 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.
    pietroalbini committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    fd3de6a View commit details
    Browse the repository at this point in the history
  23. 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
    pietroalbini committed Mar 13, 2019
    Configuration menu
    Copy the full SHA
    4769f8f View commit details
    Browse the repository at this point in the history