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 9 pull requests #75122

Closed
wants to merge 19 commits into from
Closed

Commits on Jul 29, 2020

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

Commits on Aug 2, 2020

  1. Configuration menu
    Copy the full SHA
    35d6a2e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    532e7f4 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2020

  1. Fix logging for rustdoc

    jyn514 committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    e97e6fb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2e5c501 View commit details
    Browse the repository at this point in the history
  3. Disable building rust-analyzer on riscv64

    riscv64 has an LLVM bug that makes rust-analyzer not build.
    Mark-Simulacrum committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    d2fc809 View commit details
    Browse the repository at this point in the history
  4. Completes support for coverage in external crates

    The prior PR corrected for errors encountered when trying to generate
    the coverage map on source code inlined from external crates (including
    macros and generics) by avoiding adding external DefIds to the coverage
    map.
    
    This made it possible to generate a coverage report including external
    crates, but the external crate coverage was incomplete (did not include
    coverage for the DefIds that were eliminated.
    
    The root issue was that the coverage map was converting Span locations
    to source file and locations, using the SourceMap for the current crate,
    and this would not work for spans from external crates (compliled with a
    different SourceMap).
    
    The solution was to convert the Spans to filename and location during
    MIR generation instead, so precompiled external crates would already
    have the correct source code locations embedded in their MIR, when
    imported into another crate.
    richkadel committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    22161c3 View commit details
    Browse the repository at this point in the history
  5. Stabilize Ident::new_raw

    Tracking issue: rust-lang#54723
    
    This is a continuation of PR rust-lang#59002
    Aaron1011 committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    6deda6a View commit details
    Browse the repository at this point in the history
  6. rustc_ast: (Nested)MetaItem::check_name -> has_name

    For consistency with `Attribute::has_name` which doesn't mark the attribute as used either.
    
    Replace all uses of `check_name` with `has_name` outside of rustc
    petrochenkov committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    0a88346 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    05f414b View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#74759 - carbotaniuman:uabs, r=shepmaster

    add `unsigned_abs` to signed integers
    
    Mentioned on rust-lang/rfcs#2914
    
    This PR simply adds an `unsigned_abs` to signed integers function which returns the correct absolute value as a unsigned integer.
    JohnTitor authored Aug 3, 2020
    Configuration menu
    Copy the full SHA
    98cc093 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#75037 - richkadel:llvm-coverage-map-gen-5.2…

    …, r=wesleywiser
    
    Completes support for coverage in external crates
    
    Follow-up to rust-lang#74959 :
    
    The prior PR corrected for errors encountered when trying to generate
    the coverage map on source code inlined from external crates (including
    macros and generics) by avoiding adding external DefIds to the coverage
    map.
    
    This made it possible to generate a coverage report including external
    crates, but the external crate coverage was incomplete (did not include
    coverage for the DefIds that were eliminated.
    
    The root issue was that the coverage map was converting Span locations
    to source file and locations, using the SourceMap for the current crate,
    and this would not work for spans from external crates (compliled with a
    different SourceMap).
    
    The solution was to convert the Spans to filename and location during
    MIR generation instead, so precompiled external crates would already
    have the correct source code locations embedded in their MIR, when
    imported into another crate.
    
    @wesleywiser FYI
    r? @tmandry
    JohnTitor authored Aug 3, 2020
    Configuration menu
    Copy the full SHA
    7abacbe View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#75043 - petrochenkov:hasname, r=nnethercote

    rustc_ast: `(Nested)MetaItem::check_name` -> `has_name`
    
    For consistency with `Attribute::has_name` which doesn't mark the attribute as used either.
    
    Replace all uses of `check_name` with `has_name` outside of rustc, only rustc needs to mark attributes as used.
    
    cc rust-lang#74932
    r? @nnethercote
    JohnTitor authored Aug 3, 2020
    Configuration menu
    Copy the full SHA
    c9dff69 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#75056 - Veykril:path_statements_lint, r=oli…

    …-obk
    
    Lint path statements to suggest using drop when the type needs drop
    
    Fixes rust-lang#48852. With this change the current lint description doesn't really fit entirely anymore I think.
    JohnTitor authored Aug 3, 2020
    Configuration menu
    Copy the full SHA
    2ebd068 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#75058 - ssomers:btree_cleanup_insert_2, r=M…

    …ark-Simulacrum
    
    Clarify reuse of a BTreeMap insert support function and treat split support likewise
    
    r? @Mark-Simulacrum
    JohnTitor authored Aug 3, 2020
    Configuration menu
    Copy the full SHA
    48f7c38 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    bd00490 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#75083 - JohnTitor:follow-up-unused-braces, …

    …r=lcnr
    
    Do not trigger `unused_braces` for `while let`
    
    Follow-up for rust-lang#75031
    r? @lcnr
    JohnTitor authored Aug 3, 2020
    Configuration menu
    Copy the full SHA
    ac39b9d View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#75084 - Aaron1011:stabilize/ident-new-raw, …

    …r=petrochenkov
    
    Stabilize Ident::new_raw
    
    Tracking issue: rust-lang#54723
    
    This is a continuation of PR rust-lang#59002
    JohnTitor authored Aug 3, 2020
    Configuration menu
    Copy the full SHA
    885d481 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#75103 - Mark-Simulacrum:no-ra-for-riscv64, …

    …r=matklad
    
    Disable building rust-analyzer on riscv64
    
    riscv64 has an LLVM bug that makes rust-analyzer not build. Should permit future rust-analyzer ups (e.g., rust-lang#74813) to land.
    JohnTitor authored Aug 3, 2020
    Configuration menu
    Copy the full SHA
    55a2261 View commit details
    Browse the repository at this point in the history