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 21 pull requests #53798

Closed
wants to merge 49 commits into from
Closed

Commits on Aug 6, 2018

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

Commits on Aug 15, 2018

  1. Fix review notes

    kpp committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    9a3a12e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34b65db View commit details
    Browse the repository at this point in the history
  3. Review fix

    kpp committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    5bfb785 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2018

  1. Force-inline shallow_resolve at its hottest call site.

    It's a ~1% win on `keccak` and `inflate`.
    nnethercote committed Aug 20, 2018
    Configuration menu
    Copy the full SHA
    b73843f View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2018

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

Commits on Aug 25, 2018

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

Commits on Aug 26, 2018

  1. Configuration menu
    Copy the full SHA
    1f421d6 View commit details
    Browse the repository at this point in the history
  2. Reduce number of syscalls in rand

    In case that it is statically known that the OS doesn't support
    `getrandom` (non-Linux) or becomes clear at runtime that `getrandom`
    isn't available (`ENOSYS`), the opened fd ("/dev/urandom") isn't closed
    after the function, so that future calls can reuse it. This saves
    repeated `open`/`close` system calls at the cost of one permanently open
    fd.
    
    Additionally, this skips the initial zero-length `getrandom` call and
    directly hands the user buffer to the operating system, saving one
    `getrandom` syscall.
    tbu- committed Aug 26, 2018
    Configuration menu
    Copy the full SHA
    09a615c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    26f38c0 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2018

  1. readd final newline

    estebank committed Aug 27, 2018
    Configuration menu
    Copy the full SHA
    a2722f3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4570ace View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c874e36 View commit details
    Browse the repository at this point in the history
  4. fix a typo: taget_env -> target_env

    This typo was introduced in rust-lang#47334.
    A couple tests bitrotted as a result, so we fix those too, and move them
    to a more sensible place.
    oconnor663 committed Aug 27, 2018
    Configuration menu
    Copy the full SHA
    8486efa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1d79d8b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    04b4c40 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f77ad5c View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2018

  1. Configuration menu
    Copy the full SHA
    e6dcdee View commit details
    Browse the repository at this point in the history
  2. split paragraph

    RalfJung committed Aug 28, 2018
    Configuration menu
    Copy the full SHA
    31b63d0 View commit details
    Browse the repository at this point in the history
  3. Fix typo in comment

    dmerejkowsky committed Aug 28, 2018
    Configuration menu
    Copy the full SHA
    1311339 View commit details
    Browse the repository at this point in the history
  4. sort

    japaric committed Aug 28, 2018
    Configuration menu
    Copy the full SHA
    84796cb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    93f3f5b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6628d39 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    da4febd View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2018

  1. Configuration menu
    Copy the full SHA
    6d47737 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    890d04d View commit details
    Browse the repository at this point in the history
  3. Replace usages of 'bad_style' with 'nonstandard_style'.

    `bad_style` is being deprecated in favor of `nonstandard_style`:
    
    - rust-lang#41646
    frewsxcv committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    e477a13 View commit details
    Browse the repository at this point in the history
  4. Generalize async_idents to all new keywords

    This commit generalizes the existing `async_idents` lint to easily encompass
    other identifiers that will be keywords in future editions. The new lint is
    called `keyword_idents` and the old `async_idents` lint is registered as renamed
    to this new lint.
    
    As a proof of concept the `try` keyword was added to this list as it looks to be
    listed as a keyword in the 2018 edition only. The `await` keyword was not added
    as it's not listed as a keyword yet.
    
    Closes rust-lang#53077
    alexcrichton committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    003cab2 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#51760 - GuillaumeGomez:add-another-partiale…

    …q-example, r=QuietMisdreavus
    
    Add another PartialEq example
    
    r? @steveklabnik
    pietroalbini committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    2deda32 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#53113 - kpp:more_docs_for_cow, r=GuillaumeG…

    …omez
    
    Add example for Cow
    
    Add one more example that shows how to keep `Cow` in a struct.
    
    Link to playground: https://play.rust-lang.org/?gist=a9256bdd034b44bc3cdd0044bbcdbb7c&version=stable&mode=debug&edition=2015
    
    Users ask this question in [ruRust](https://gitter.im/ruRust/general) chat time to time and it is not obvious to add `ToOwned<Owned=Target>` to requirements of generic params.
    pietroalbini committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    8b35394 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#53129 - nikomatsakis:issue-51172-tweak-test…

    …, r=pnkfelix
    
    remove `let x = baz` which was obscuring the real error
    
    fixes rust-lang#51172
    pietroalbini committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    94dbcfa View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#53389 - RalfJung:thread-join, r=sfackler

    document effect of join on memory ordering
    
    Fixes rust-lang#45467
    pietroalbini committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    474cda8 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#53472 - eddyb:fx-pls, r=pnkfelix

    Use FxHash{Map,Set} instead of the default Hash{Map,Set} everywhere in rustc.
    
    Most of the compiler uses the `Fx` hasher but some places ended up with the default one.
    pietroalbini committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    64ff1e5 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#53476 - GuillaumeGomez:try-from-int-error-p…

    …artial-eq, r=KodrAus
    
    Add partialeq implementation for TryFromIntError type
    
    Fixes rust-lang#53458.
    pietroalbini committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    dbf633f View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#53513 - nnethercote:inline-shallow_resolve,…

    … r=varkor
    
    Force-inline `shallow_resolve` at its hottest call site.
    
    It's a ~1% win on `keccak` and `inflate`.
    pietroalbini committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    0516314 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#53655 - jcpst:with_applicability, r=estebank

    set applicability
    
    Update a few more calls as described in rust-lang#50723
    
    r? @estebank
    pietroalbini committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    bcd6880 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#53685 - alexcrichton:more-keywords, r=varkor

    Generalize `async_idents` to all new keywords
    
    This commit generalizes the existing `async_idents` lint to easily encompass
    other identifiers that will be keywords in future editions. The new lint is
    called `keyword_idents` and the old `async_idents` lint is registered as renamed
    to this new lint.
    
    As a proof of concept the `try` keyword was added to this list as it looks to be
    listed as a keyword in the 2018 edition only. The `await` keyword was not added
    as it's not listed as a keyword yet.
    
    Closes rust-lang#53077
    pietroalbini committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    b917b7b View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#53702 - jkozlowski:correct_version_for_macr…

    …o_vis_matcher, r=cramertj
    
    Fix stabilisation version for macro_vis_matcher.
    
    r? @cramertj
    pietroalbini committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    a22c6e4 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#53725 - tbu-:pr_getrandom_syscalls, r=alexc…

    …richton
    
    Reduce number of syscalls in `rand`
    
    This skips the initial zero-length `getrandom` call and
    directly hands the user buffer to the operating system, saving one
    `getrandom` syscall.
    pietroalbini committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    b18ecbd View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#53727 - estebank:incorrect-deref-suggestion…

    …, r=nikomatsakis
    
    Do not suggest dereferencing in macro
    
    Fix rust-lang#52783.
    pietroalbini committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    491c4bb View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#53732 - emilio:foreign-fn, r=nrc

    save-analysis: Differentiate foreign functions and statics.
    pietroalbini committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    ef9a675 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#53740 - japaric:readobj, r=alexcrichton

    add llvm-readobj to llvm-tools-preview
    
    Similar to readelf but supports more object formats (it seems). Particularly useful to inspect in detail sections (e.g. their flags) and symbols (e.g. their types).
    
    r? @alexcrichton
    cc @dvc94ch
    pietroalbini committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    3848009 View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#53743 - oconnor663:target_env, r=kennytm

    fix a typo: taget_env -> target_env
    
    This typo was introduced in rust-lang#47334. A couple tests bitrotted as a result, so we fix those too, and move them to a more sensible place.
    
    Is there some lint we could turn on that would've caught this? It's a drag that cfg typos can silently pass through the compiler.
    pietroalbini committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    3062a0c View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#53747 - GuillaumeGomez:rustdoc-fixes, r=Qui…

    …etMisdreavus
    
    Rustdoc fixes
    
    Fixes rustdoc not scrolling to given lines and invalid unstable display:
    
    <img width="1440" alt="screen shot 2018-08-27 at 23 28 47" src="https://user-images.githubusercontent.com/3050060/44687252-06535e80-aa51-11e8-8512-d7d34d1cb963.png">
    
    r? @QuietMisdreavus
    pietroalbini committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    8b119b9 View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#53753 - RalfJung:keep-stage, r=nikomatsakis

    expand keep-stage --help text
    pietroalbini committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    e02e048 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    c308206 View commit details
    Browse the repository at this point in the history
  23. Rollup merge of rust-lang#53768 - RalfJung:gitignore, r=nikomatsakis

    move file-extension based .gitignore down to src/
    
    Currently, it for example ignores `*.rlib` files in the repository root -- which I think is wrong; I sometimes get these files when I call rustc directly and I do want them cleaned up, not ignored. No such files are created during the normal build process.
    pietroalbini committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    ad115fc View commit details
    Browse the repository at this point in the history
  24. Rollup merge of rust-lang#53785 - tbu-:pr_comment, r=Mark-Simulacrum

    Fix a comment in src/libcore/slice/mod.rs
    pietroalbini committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    b5c3f58 View commit details
    Browse the repository at this point in the history
  25. Rollup merge of rust-lang#53786 - frewsxcv:frewsxcv-bad-style, r=Mani…

    …shearth
    
    Replace usages of 'bad_style' with 'nonstandard_style'.
    
    `bad_style` is being deprecated in favor of `nonstandard_style`:
    
    - rust-lang#41646
    pietroalbini committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    31a6f9f View commit details
    Browse the repository at this point in the history