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 15 pull requests #54146

Merged
merged 38 commits into from
Sep 12, 2018
Merged

Rollup of 15 pull requests #54146

merged 38 commits into from
Sep 12, 2018

Commits on Aug 20, 2018

  1. AMDGPU call abi info.

    DiamondLovesYou committed Aug 20, 2018
    Configuration menu
    Copy the full SHA
    6ff72a1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c0603e View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2018

  1. AMDGPU ignores noinline when it slaps alwaysinline everywhere.

    Allow target specs to disable that attribute.
    DiamondLovesYou committed Aug 23, 2018
    Configuration menu
    Copy the full SHA
    bfddede View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    66e8e19 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2018

  1. Configuration menu
    Copy the full SHA
    b8c6030 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5eb6791 View commit details
    Browse the repository at this point in the history
  3. Corrected bad typing in Result::map_or_else doc

    The error value now includes the type of the success.
    The success value now includes the type of the error.
    ivanbakel committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    71b16d8 View commit details
    Browse the repository at this point in the history
  4. Corrected feature status of Result::map_or_else

    map_or_else is now correctly labelled unstable and points to the
    tracking issue on rust-lang/rust
    ivanbakel committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    3eda905 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6ff4f79 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    79408c3 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2018

  1. Configuration menu
    Copy the full SHA
    8bbe178 View commit details
    Browse the repository at this point in the history
  2. Update documentation for fill_buf in std::io::BufRead

    Brings the documentation in line with the BufReader implementation.
    
    Fixes rust-lang#48022.
    Alva Snædís committed Sep 7, 2018
    Configuration menu
    Copy the full SHA
    aa4f73c View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2018

  1. Configuration menu
    Copy the full SHA
    0ec351d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    597c065 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2018

  1. Stabilization change for mod.rs

    This change is in response to rust-lang#53125.
    The patch makes the feature accepted and removes the tests that tested the
    non-accepted status of the feature.
    blitzerr committed Sep 9, 2018
    Configuration menu
    Copy the full SHA
    7f6b608 View commit details
    Browse the repository at this point in the history
  2. simplify ordering for Kind

    toidiu committed Sep 9, 2018
    Configuration menu
    Copy the full SHA
    7eb0ef0 View commit details
    Browse the repository at this point in the history
  3. docs: Use dollar sign for all bash prompts

    Making it consistent across the board, as most of them already use `$`.
    
    Also split one continues bash run into two, to make it easier see
    different runs: one with warning and another with error.
    behnam committed Sep 9, 2018
    Configuration menu
    Copy the full SHA
    88fe8ac View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7acd4b1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d3e5685 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2018

  1. Reexport CheckLintNameResult

    flip1995 committed Sep 10, 2018
    Configuration menu
    Copy the full SHA
    c549e65 View commit details
    Browse the repository at this point in the history
  2. fix typos in growth algo description

    modified to read "the first table overflows into the second, and the second into the first." plus smaller typos
    v-stickykeys committed Sep 10, 2018
    Configuration menu
    Copy the full SHA
    abe0f02 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2018

  1. Configuration menu
    Copy the full SHA
    af0f822 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a580ba View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2018

  1. Rollup merge of rust-lang#52514 - DiamondLovesYou:amdgpu-fixes, r=eddyb

    Fix a few AMDGPU related issues
    
    * AMDGPU ignores `noinline` and sadly doesn't clear the attribute when it slaps `alwaysinline` on everything,
    * an AMDGPU related load bit range metadata assertion,
    * I didn't enable the `amdgpu` component in the `librustc_llvm` build script,
    * Add AMDGPU call abi info.
    kennytm committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    6b55f04 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#53703 - sourcefrog:doc-wrapping, r=frewsxcv

    Document .0 to unpack integer from Wrapping
    kennytm committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    605948f View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#53777 - ivanbakel:result_map_or_else, r=ale…

    …xcrichton
    
    Implemented map_or_else for Result<T, E>
    
    Fulfills rust-lang#53268
    The example is ripped from `Option::map_or_else`, with the types corrected.
    kennytm committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    4f62077 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#54031 - ljedrz:cleanup_passes, r=oli-obk

    A few cleanups and minor improvements to rustc_passes
    
    - prefer `if let` to `match` when only one branch matters
    - prefer equality checks to pattern matching
    - prefer `is_empty` to `len() == 0`
    - collapse a couple of `if` expressions
    - rename `label` to `destination` when destructuring `hir::ExprKind::Continue`
    - `derive Copy` for `Promotability`
    - `impl BitAndAssign` for `Promotability`
    - a few formatting fixes
    - a few other minor cleanups
    kennytm committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    b365de9 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#54046 - snaedis:issue-48022, r=steveklabnik

    Update documentation for fill_buf in std::io::BufRead
    
    Brings the documentation in line with the BufReader implementation.
    
    Fixes rust-lang#48022.
    
    This is my first PR, and I think the `E-easy` label is very cool, as so is the practice of describing the fix but leaving it for someone else; it really makes it a lot less intimidating to get started with something!
    kennytm committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    3c9e884 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#54064 - nagisa:tiny-typo, r=sfackler

    `&CStr`, not `CStr`, is the counterpart of `&str`
    kennytm committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    de2c0f9 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#54072 - blitzerr:master, r=Mark-Simulacrum

    Stabilization change for mod.rs
    
    This change is in response to rust-lang#53125.
    The patch makes the feature accepted and removes the tests that tested the
    non-accepted status of the feature.
    kennytm committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    e7b45a0 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#54073 - behnam:docs-1, r=frewsxcv

    docs: Use dollar sign for all bash prompts
    
    Making it consistent across the board, as most of them already use `$`.
    
    Also split one continues bash run into two, to make it easier see
    different runs: one with warning and another with error.
    kennytm committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    61fe064 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#54074 - toidiu:ak-spimplifyOrd, r=eddyb

    simplify ordering for Kind
    
    Missed from rust-lang#50930
    
    r? @eddyb
    kennytm committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    74b8188 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#54085 - dtolnay:bare, r=alexcrichton

    Remove documentation about proc_macro being bare-bones
    
    A large chunk of useful API surface area is stabilizing in Rust 1.29. We no longer have a commitment to expand the API over time as much as implied by these comments.
    
    r? @alexcrichton
    kennytm committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    85b6bf9 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#54087 - ollie27:rustdoc_blanket_impl, r=Qui…

    …etMisdreavus
    
    rustdoc: Remove generated blanket impls from trait pages
    
    rust-lang#53801 only deduped the generated blanket impls but they shouldn't be displayed at all because the original blanket impl is already in the "Implementors" section. This also removes the impls from the sidebar.
    
    Fixes rust-lang#53689
    
    r? @QuietMisdreavus
    kennytm committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    40d9740 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#54106 - flip1995:pub_checklintnameresult, r…

    …=Manishearth
    
    Reexport CheckLintNameResult
    
    Make the enum `CheckLintNameResult` public, so that lint tools (aka Clippy) can use it together with [`LintStore::check_lint_name`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc/lint/struct.LintStore.html#method.check_lint_name), to handle the case that a scoped `tool_lint` doesn't exist in the tool.
    
    This is currently not handled by the compiler:
    https://github.com/rust-lang/rust/blob/595345419d12c3ea860151df52f78744a31bafff/src/librustc/lint/levels.rs#L309-L314
    
    Needed for rust-lang/rust-clippy#3161
    
    r? @Manishearth
    kennytm committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    2889015 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#54107 - thevaleriemack:master, r=Mark-Simul…

    …acrum
    
    Fix typos in libstd hash map
    
    modified growth algo description to read "the first table overflows into the second, and the second into the first." plus smaller typos
    kennytm committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    13ec061 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#54136 - cuviper:global-isel-dbg.declare, r=…

    …alexcrichton
    
    Update LLVM to fix GlobalISel dbg.declare
    
    Fixes rust-lang#49807.
    kennytm committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    ac66146 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#54142 - pnkfelix:fix-regression-test-for-16…

    …278, r=wesleywiser
    
    Recover proper regression test for issue rust-lang#16278.
    
    Spawned from my note rust-lang#19955 (comment)
    kennytm committed Sep 12, 2018
    Configuration menu
    Copy the full SHA
    1fed251 View commit details
    Browse the repository at this point in the history