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 14 pull requests #41929

Closed
wants to merge 32 commits into from

Commits on May 3, 2017

  1. Windows io::Error: also format NTSTATUS error codes

    Jethro Beekman committed May 3, 2017
    Configuration menu
    Copy the full SHA
    70c267f View commit details
    Browse the repository at this point in the history

Commits on May 7, 2017

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

Commits on May 9, 2017

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

Commits on May 11, 2017

  1. doc: break into 2 sentences

    tshepang committed May 11, 2017
    Configuration menu
    Copy the full SHA
    e42875c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    67a0d27 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    43349e6 View commit details
    Browse the repository at this point in the history
  4. Add test

    Jethro Beekman committed May 11, 2017
    Configuration menu
    Copy the full SHA
    71de9db View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    641d053 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a950c37 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a4151ff View commit details
    Browse the repository at this point in the history
  8. correct various error messages that changed

    The new messages seem universally better. I think these result because
    we recognize that we are in an invariant context more often.
    nikomatsakis committed May 11, 2017
    Configuration menu
    Copy the full SHA
    2490ee5 View commit details
    Browse the repository at this point in the history
  9. Pass crate attributes in visit.rs

    nrc committed May 11, 2017
    Configuration menu
    Copy the full SHA
    fb7ba47 View commit details
    Browse the repository at this point in the history
  10. Annotate the license exceptions

    brson committed May 11, 2017
    Configuration menu
    Copy the full SHA
    084b67f View commit details
    Browse the repository at this point in the history
  11. remove the #[inline] attribute from drop_in_place

    Apparently LLVM has exponential code growth while inlining landing pads
    if that attribute is present.
    
    Fixes rust-lang#41696.
    arielb1 committed May 11, 2017
    Configuration menu
    Copy the full SHA
    b0c80a9 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e6cde9f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    75b69c4 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    68c1ce9 View commit details
    Browse the repository at this point in the history
  15. box large variants in MIR

    Operand: 72 -> 24 B
    Statement: 192 -> 96 B
    Terminator: 256 -> 112 B
    librustc translation memory usage: 1795 -> 1669 MB
    
    next step would be interning lvalues, I suppose?
    arielb1 committed May 11, 2017
    Configuration menu
    Copy the full SHA
    c85501b View commit details
    Browse the repository at this point in the history

Commits on May 12, 2017

  1. Rollup merge of rust-lang#41684 - jethrogb:feature/ntstatus, r=alexcr…

    …ichton
    
    Windows io::Error: also format NTSTATUS error codes
    
    `NTSTATUS` errors may be encoded as `HRESULT`, see [[MS-ERREF]](https://msdn.microsoft.com/en-us/library/cc231198.aspx). These error codes can still be formatted using `FormatMessageW` but require some different parameters to be passed in.
    
    I wasn't sure if this needed a test and if so, how to test it. Presumably we wouldn't want to make our tests dependent on localization-dependent strings returned from `FormatMessageW`.
    
    Users that get an `err: NTSTATUS` will need to do `io::Error::from_raw_os_error(err|0x1000_0000)` (the equivalent of [`HRESULT_FROM_NT`](https://msdn.microsoft.com/en-us/library/ms693780(VS.85).aspx))
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    bae7079 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#41716 - nikomatsakis:issue-41677, r=arielb1

    enforce WF conditions after generalizing
    
    Add a `WF(T')` obligation after generalizing `T` to `T'`, if `T'` contains an unconstrained type variable in a bivariant context.
    
    Fixes rust-lang#41677.
    
    Beta nominating -- regression.
    
    r? @arielb1
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    5b5c045 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#41820 - devurandom:patch-1, r=alexcrichton

    bootstrap: Output name of failed config in case of errors
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    c804e4b View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#41860 - mbrubeck:docs, r=nagisa

    Remove wrong or outdated info from CString docs.
    
    None
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    82e262d View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#41896 - tshepang:too-long, r=steveklabnik

    doc: break into 2 sentences
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    0d29661 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#41910 - mersinvald:master, r=Mark-Simulacrum

    Number of filtered out tests in tests summary
    
    Closes rust-lang#31905
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    6514b53 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#41912 - oli-obk:patch-3, r=eddyb

    Upgrade some comments to doc comments
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    ceca286 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#41916 - mglagla:typo, r=sfackler

    Fix typo in Iterator::size_hint example comment
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    bfd3b89 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#41918 - brson:lic, r=alexcrichton

    Annotate the license exceptions
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    b1c875d View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#41919 - nrc:save-crate, r=eddyb

    Include the crate's root module in save-analysis
    
    r? @eddyb
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    d5bad7c View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#41920 - arielb1:inline-drop, r=eddyb

    remove the #[inline] attribute from drop_in_place
    
    Apparently LLVM has exponential code growth while inlining landing pads
    if that attribute is present.
    
    Fixes rust-lang#41696.
    
    beta-nominating  because regression.
    r? @eddyb
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    7f189dc View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#41921 - GuillaumeGomez:fix-search-style, r=…

    …steveklabnik
    
    Fix search when looking to sources
    
    Before:
    
    <img width="1440" alt="screen shot 2017-05-11 at 22 33 28" src="https://cloud.githubusercontent.com/assets/3050060/25970761/03fd2ade-369a-11e7-9fd6-783c23455589.png">
    
    After:
    
    <img width="1440" alt="screen shot 2017-05-11 at 22 34 05" src="https://cloud.githubusercontent.com/assets/3050060/25970770/09ac71ce-369a-11e7-9038-559f414e07b5.png">
    
    r? @rust-lang/docs
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    c1b49b0 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#41923 - eddyb:issue-41744, r=arielb1

    rustc_trans: do not attempt to truncate an i1 const to i1.
    
    Fixes rust-lang#41744 by skipping the truncation when it'd be a noop anyway.
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    7cc8da2 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#41926 - arielb1:box-mir, r=eddyb

    box large variants in MIR
    
    Operand: 72 -> 24 B
    Statement: 192 -> 96 B
    Terminator: 256 -> 112 B
    librustc translation memory usage: 1795 -> 1669 MB
    
    next step would be interning lvalues, I suppose?
    
    cc rust-lang#36799 (@urschrei - does ostn15_phf compile with this PR?)
    
    r? @eddyb
    Mark-Simulacrum authored May 12, 2017
    Configuration menu
    Copy the full SHA
    67fd0bd View commit details
    Browse the repository at this point in the history