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 7 pull requests #101592

Merged
merged 15 commits into from
Sep 9, 2022
Merged

Commits on Sep 4, 2022

  1. Hermit: Fix unused_imports

    mkroening committed Sep 4, 2022
    Configuration menu
    Copy the full SHA
    11af142 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce305f8 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2022

  1. llvm-wrapper: adapt for LLVM API changes

    No functional changes intended.
    
    Adapts PassWrapper for two recent LLVM API changes:
    * llvm/llvm-project@e7bac3b
    * llvm/llvm-project@93600eb
    * llvm/llvm-project@5e38b2a
    krasimirgg committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    a3b60f1 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2022

  1. rustdoc: remove unused CSS #implementations-list > h3 > span.in-band

    This was added in 51f26ac to help with the
    display of an `<h3>` tag that has a `<span class='in-band'>` inside.
    
    The way implementation lists were rendered was changed in
    34bd2b8 to have `<code class='in-band'>`,
    making this CSS unused.
    
    Then it was turned into a `<div>` in 9077d54
    without issue.
    
    Finally, the header itself acquired the `in-band` class in
    76a3b60.
    notriddle committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    6d2935d View commit details
    Browse the repository at this point in the history
  2. rustdoc: remove unused CSS div.impl-items > div

    This was added in 9077d54 to override the
    style on `<div>` tags that were acting as headers. These `<div>` tags were
    replaced with `<section>` tags in 32f6260,
    but this CSS was probably already redundant even then (the headers had
    already been replaced with real `<h3>` and `<h4>` tags in
    76a3b60).
    notriddle committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    f7b10b9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d9a1faa View commit details
    Browse the repository at this point in the history
  4. rustdoc: remove no-op CSS #settings-menu { padding: 0 }

    This CSS was added in 5e01ba3, and served to
    override CSS right above it that set a 5px padding for several kinds of
    buttons in the same toolbar.
    
    The CSS that it overrode is still there, but now it only applies to
    `#settings-menu > a`, so there's nothing to override.
    notriddle committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    b9093f4 View commit details
    Browse the repository at this point in the history
  5. ptr: 43276834268743978

    BoxyUwU committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    ef36af2 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#101423 - mkroening:hermit-warnings, r=sanxiyn

    Fix hermit warnings
    
    This fixes two `unused_imprt` and one `dead_code` warning for hermit.
    compiler-errors committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    2c4dc4f View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#101499 - spastorino:add-lowering-arena, r=o…

    …li-obk
    
    Introduce lowering_arena to avoid creating AST nodes on the fly
    
    `@oli-obk` requested this and other changes as a way of simplifying rust-lang#101345. This is just going to make the diff of rust-lang#101345 smaller.
    
    r? `@oli-obk` `@cjgillot`
    compiler-errors committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    1499c08 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#101530 - krasimirgg:llvm-16-up, r=cuviper

    llvm-wrapper: adapt for LLVM API changes
    
    No functional changes intended.
    
    Adapts PassWrapper for a few recent LLVM API changes:
    * llvm/llvm-project@e7bac3b
    * llvm/llvm-project@93600eb
    * llvm/llvm-project@5e38b2a
    
    Note that `ModuleMemorySanitizerPass` was renamed back to its pre-14 name, `MemorySanitizerPass`, hence the funky `#if LLVM_VERSION_GE(14, 0) && LLVM_VERSION_LT(16, 0)` guard.
    
    Found via our experimental rust + llvm at HEAD bot: https://buildkite.com/llvm-project/rust-llvm-integrate-prototype/builds/13290#018315e6-24e1-44c8-b56d-9aad9be11c29
    compiler-errors committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    963a9ec View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#101554 - notriddle:notriddle/implemenation-…

    …list-h3-span-in-band, r=Dylan-DPC
    
    rustdoc: remove unused CSS `#implementations-list > h3 > span.in-band`
    
    This was added in 51f26ac to help with the display of an `<h3>` tag that has a `<span class='in-band'>` inside.
    
    The way implementation lists were rendered was changed in 34bd2b8 to have `<code class='in-band'>`, making this CSS unused.
    
    Then it was turned into a `<div>` in 9077d54 without issue.
    
    Finally, the header itself acquired the `in-band` class in 76a3b60.
    compiler-errors committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    c810cd1 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#101580 - notriddle:notriddle/div-impl-items…

    …-div, r=GuillaumeGomez
    
    rustdoc: remove unused CSS `div.impl-items > div`
    
    This was added in 9077d54 to override the style on `<div>` tags that were acting as headers. These `<div>` tags were replaced with `<section>` tags in 32f6260, but this CSS was probably already redundant even then (the headers had already been replaced with real `<h3>` and `<h4>` tags in 76a3b60).
    compiler-errors committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    b300123 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#101584 - notriddle:notriddle/settings-menu,…

    … r=GuillaumeGomez
    
    rustdoc: remove no-op CSS `#settings-menu { padding: 0 }`
    
    This CSS was added in 5e01ba3, and served to override CSS right above it that set a 5px padding for several kinds of buttons in the same toolbar:
    
    https://github.com/rust-lang/rust/blob/5e01ba36c9f1037c4cf3e7421413fc6c41f85d05/src/librustdoc/html/static/css/rustdoc.css#L1400-L1409
    
    The CSS that it overrode is still there, but now it only applies to `#settings-menu > a`, so there's nothing to override.
    
    https://github.com/rust-lang/rust/blob/24d69920201563f0ee7b530f1cda0f171b205cc2/src/librustdoc/html/static/css/rustdoc.css#L1445-L1454
    compiler-errors committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    7300e4d View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#101587 - BoxyUwU:term_debug, r=compiler-errors

    Make `Debug` impl for `Term` useful
    
    because `Term { ptr: 78942378998734298342, maker: PhantomData, }` does not excel at communicating the necessary information
    compiler-errors committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    e43cf3d View commit details
    Browse the repository at this point in the history