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 12 pull requests #79867

Merged
merged 27 commits into from
Dec 10, 2020
Merged

Rollup of 12 pull requests #79867

merged 27 commits into from
Dec 10, 2020

Commits on Dec 6, 2020

  1. Fix trimming of lint docs

    It was removing all the indentation before.
    
    Co-authored-by: Eric Huss <eric@huss.org>
    camelid and ehuss committed Dec 6, 2020
    Configuration menu
    Copy the full SHA
    b4b66f6 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2020

  1. Privatize some of libcore unicode_internals

    My understanding is that these API are perma unstable, so it doesn't
    make sense to pollute docs & IDE completion[1] with them.
    
    [1]: rust-lang/rust-analyzer#6738
    matklad committed Dec 7, 2020
    Configuration menu
    Copy the full SHA
    88da568 View commit details
    Browse the repository at this point in the history
  2. Update xsv to prevent random CI failures

    This fixes occasional proptest failures due to a bug in xsv, which
    aren't related to bugs in the rust compiler.
    jyn514 committed Dec 7, 2020
    Configuration menu
    Copy the full SHA
    0ee3f6d View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2020

  1. Fixes to Rust coverage

    Fixes: rust-lang#79725
    
    Some macros can create a situation where `fn_sig_span` and `body_span`
    map to different files.
    
    New documentation on coverage tests incorrectly assumed multiple test
    binaries could just be listed at the end of the `llvm-cov` command,
    but it turns out each binary needs a `--object` prefix.
    
    This PR fixes the bug and updates the documentation to correct that
    issue. It also fixes a few other minor issues in internal implementation
    comments, and adds documentation on getting coverage results for doc
    tests.
    richkadel committed Dec 8, 2020
    Configuration menu
    Copy the full SHA
    95c268f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    06aa7a7 View commit details
    Browse the repository at this point in the history
  3. Simplify visit_{foreign,trait}_item

    Using an `if` seems like a better semantic fit and saves a few lines.
    LingMan committed Dec 8, 2020
    Configuration menu
    Copy the full SHA
    7654b12 View commit details
    Browse the repository at this point in the history
  4. Account for gaps in def path table during decoding

    When encoding a proc-macro crate, there may be gaps in the table (since
    we only encode the crate root and proc-macro items). Account for this by
    checking if the entry is present, rather than using `unwrap()`
    Aaron1011 committed Dec 8, 2020
    Configuration menu
    Copy the full SHA
    a332e2b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dbe3acf View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0fa4615 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c37e198 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    20f8538 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2020

  1. Configuration menu
    Copy the full SHA
    d711c30 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c7d7bc9 View commit details
    Browse the repository at this point in the history
  3. Update LLVM submodule

    tmiasko committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    4a7f2ec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    570de0a View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#79732 - matthiaskrgr:cl12ppy, r=Dylan-DPC

    minor stylistic clippy cleanups
    
    simplify if let Some(_) = x  to  if x.is_some()  (clippy::redundant_pattern_matching)
    don't create owned values for comparison (clippy::cmp_owned)
    use .contains() or .any() instead of find(x).is_some() (clippy::search_is_some)
    don't wrap code block in Ok()  (clipppy::unit_arg)
    tmandry committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    d95948c View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#79750 - camelid:fix-lint-docs-trimming, r=M…

    …ark-Simulacrum
    
    Fix trimming of lint docs
    
    Fixes rust-lang#79748.
    
    It was removing all the indentation before.
    
    r? `@Mark-Simulacrum`
    tmandry committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    2872937 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#79777 - tmiasko:remove-first-merge, r=lcnr

    Remove `first_merge` from liveness debug logs
    tmandry committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    2cca5e1 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#79795 - matklad:unicode-private, r=cramertj

    Privatize some of libcore unicode_internals
    
    My understanding is that these API are perma unstable, so it doesn't
    make sense to pollute docs & IDE completion[1] with them.
    
    [1]: rust-lang/rust-analyzer#6738
    tmandry committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    26e4cf0 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#79803 - jyn514:xsv, r=Mark-Simulacrum

    Update xsv to prevent random CI failures
    
    This fixes occasional proptest failures due to a bug in xsv, which
    aren't related to bugs in the rust compiler.
    
    See rust-lang#79751 (comment) for context.
    tmandry committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    0994f35 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#79810 - Aaron1011:fix/def-path-table-gap, r…

    …=lcnr
    
    Account for gaps in def path table during decoding
    
    When encoding a proc-macro crate, there may be gaps in the table (since
    we only encode the crate root and proc-macro items). Account for this by
    checking if the entry is present, rather than using `unwrap()`
    tmandry committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    a410af9 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#79818 - richkadel:llvm-coverage-counters-2.…

    …1.0, r=tmandry
    
    Fixes to Rust coverage
    
    Fixes: rust-lang#79725
    
    Some macros can create a situation where `fn_sig_span` and `body_span`
    map to different files.
    
    New documentation on coverage tests incorrectly assumed multiple test
    binaries could just be listed at the end of the `llvm-cov` command,
    but it turns out each binary needs a `--object` prefix.
    
    This PR fixes the bug and updates the documentation to correct that
    issue. It also fixes a few other minor issues in internal implementation
    comments, and adds documentation on getting coverage results for doc
    tests.
    tmandry committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    3b49a46 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#79824 - LingMan:no_replace, r=lcnr

    Strip prefix instead of replacing it with empty string
    
    r? `@lcnr,` since you reviewed my other PR in the area.
    `@rustbot` modify labels +C-cleanup +T-compiler
    tmandry committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    666d1a8 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#79826 - LingMan:match_if, r=lcnr

    Simplify visit_{foreign,trait}_item
    
    Using an `if` seems like a better semantic fit and saves a few lines.
    
    Noticed while looking at rust-lang#79752, but that's already merged.
    r? `@lcnr,` cc `@cjgillot`
    
    `@rustbot` modify labels +C-cleanup +T-compiler
    tmandry committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    9ced8dc View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#79844 - tmiasko:rwu-table-mod, r=lcnr

    Move RWUTable to a separate module
    tmandry committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    b867d13 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#79861 - tmiasko:llvm, r=cuviper

    Update LLVM submodule
    
    * [[msan] Fix bugs when instrumenting x86.avx512*_cvt* intrinsics](rust-lang/llvm-project#84)
    * [[X86][AVX512] Only lower to VPALIGNR if we have BWI (PR48322)](rust-lang/llvm-project#85)
    tmandry committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    8ffe7b6 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#79862 - GuillaumeGomez:tab-lock, r=Manishearth

    Remove tab-lock and replace it with ctrl+up/down arrows to switch between search result tabs
    
    Fixes rust-lang#65212
    
    What took the longest time was to update the help popup in the end.
    
    r? `@Manishearth`
    tmandry committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    f74f3b2 View commit details
    Browse the repository at this point in the history