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

Opaque higher ranked #1

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open

Opaque higher ranked #1

wants to merge 36 commits into from

Commits on Jul 22, 2022

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

Commits on Jul 28, 2022

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

Commits on Jul 29, 2022

  1. update comment

    lcnr committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    2634309 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2022

  1. Add Iterator::array_chunks()

    rossmacarthur authored and WaffleLapkin committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    ca3d101 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f548518 View commit details
    Browse the repository at this point in the history
  3. Remove array::IntoIter::with_partial -- an artifact of the past, on…

    …ce used to create an `IntoIter` from its parts
    WaffleLapkin committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    ef72349 View commit details
    Browse the repository at this point in the history
  4. Forward ArrayChunks::next{,_back} to try_{for_each,rfold}

    (suggested in the review of the previous attempt to add `ArrayChunks`)
    WaffleLapkin committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    b8b1486 View commit details
    Browse the repository at this point in the history
  5. Remove incorrect impl TrustedLen for ArrayChunks

    As explained in the review of the previous attempt to add `ArrayChunks`,
    adapters that shrink the length can't implement `TrustedLen`.
    WaffleLapkin committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    4db628a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3102b39 View commit details
    Browse the repository at this point in the history
  7. Remove Fuse from ArrayChunks implementation

    It doesn't seem to be used at all.
    WaffleLapkin committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    37dfb04 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4c0292c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    475e4ba View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

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

Commits on Aug 3, 2022

  1. Configuration menu
    Copy the full SHA
    2af92bb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    accb8e3 View commit details
    Browse the repository at this point in the history
  3. Add ui test for rust-lang#99910

    obeis committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    b3f32d1 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2022

  1. address review comments

    WaffleLapkin committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    eb6b729 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5fbcde1 View commit details
    Browse the repository at this point in the history
  3. rustc_target: Update some old naming around self contained linking

    The "fallback" naming pre-dates introduction of `-Clink-self-contained`
    petrochenkov committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    8fa707a View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2022

  1. assert_{inhabited,zero_valid,uninit_valid} intrinsics are safe

    Those intrinsics either panic or do nothing. They are safe.
    tmiasko committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    6b19a48 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2022

  1. Configuration menu
    Copy the full SHA
    68f327b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    33df8a9 View commit details
    Browse the repository at this point in the history
  3. Update rustdoc tests

    GuillaumeGomez committed Aug 14, 2022
    Configuration menu
    Copy the full SHA
    6e574e1 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#99582 - compiler-errors:issue-99566, r=cjgi…

    …llot
    
    Delay a span bug if we see ty/const generic params during writeback
    
    Fixes rust-lang#99566
    Dylan-DPC committed Aug 14, 2022
    Configuration menu
    Copy the full SHA
    a9f3e03 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#99861 - lcnr:orphan-check-cg, r=jackh726

    orphan check: rationalize our handling of constants
    
    cc `@rust-lang/types` `@rust-lang/project-const-generics` on whether you agree with this reasoning.
    
    r? types
    Dylan-DPC committed Aug 14, 2022
    Configuration menu
    Copy the full SHA
    92344e3 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#100026 - WaffleLapkin:array-chunks, r=scottmcm

    Add `Iterator::array_chunks` (take N+1)
    
    A revival of rust-lang#92393.
    
    r? `@Mark-Simulacrum`
    cc `@rossmacarthur` `@scottmcm` `@the8472`
    
    I've tried to address most of the review comments on the previous attempt. The only thing I didn't address is `try_fold` implementation, I've left the "custom" one for now, not sure what exactly should it use.
    Dylan-DPC committed Aug 14, 2022
    Configuration menu
    Copy the full SHA
    482a6ea View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#100115 - obeis:issue-99910, r=cjgillot

    Suggest removing `let` if `const let` or `let const` is used
    
    Closes rust-lang#99910
    Dylan-DPC committed Aug 14, 2022
    Configuration menu
    Copy the full SHA
    7473484 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#100126 - petrochenkov:screname, r=davidtwco

    rustc_target: Update some old naming around self contained linking
    
    The "fallback" naming pre-dates introduction of `-Clink-self-contained`.
    Noticed when reviewing rust-lang#99500.
    
    This PR doesn't break any json target spec, but supporting per-linker-flavor startup objects needed by rust-lang#99500 will break them, so maybe next time I'll remove the compatibility names.
    Dylan-DPC committed Aug 14, 2022
    Configuration menu
    Copy the full SHA
    38bc937 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#100487 - tmiasko:assert-safe, r=petrochenkov

    `assert_{inhabited,zero_valid,uninit_valid}` intrinsics are safe
    
    Those intrinsics either panic or do nothing. They are safe.
    Dylan-DPC committed Aug 14, 2022
    Configuration menu
    Copy the full SHA
    9de9786 View commit details
    Browse the repository at this point in the history
  10. Auto merge of rust-lang#100525 - Dylan-DPC:rollup-4cp6nu0, r=Dylan-DPC

    Rollup of 6 pull requests
    
    Successful merges:
    
     - rust-lang#99582 (Delay a span bug if we see ty/const generic params during writeback)
     - rust-lang#99861 (orphan check: rationalize our handling of constants)
     - rust-lang#100026 (Add `Iterator::array_chunks` (take N+1))
     - rust-lang#100115 (Suggest removing `let` if `const let` or `let const` is used)
     - rust-lang#100126 (rustc_target: Update some old naming around self contained linking)
     - rust-lang#100487 (`assert_{inhabited,zero_valid,uninit_valid}` intrinsics are safe)
    
    Failed merges:
    
    r? `@ghost`
    `@rustbot` modify labels: rollup
    bors committed Aug 14, 2022
    Configuration menu
    Copy the full SHA
    4c56655 View commit details
    Browse the repository at this point in the history
  11. Auto merge of rust-lang#100429 - GuillaumeGomez:merge-html-elements-t…

    …ogether, r=notriddle
    
    rustdoc: Merge source code pages HTML elements together
    
    We realized that the HTML generated for the source code pages could be improved quite a lot. This PR is a first pass toward this goal. Some explanations: it merges similar classes elements (even when there are white characters in between).
    
    There is an exception to this: if this is an ident, I also merged it with "unclassified" elements. This part is up to debate and can be very easily removed as the check is performed in one place (in the `can_merge` function).
    
    EDIT: The `ident` is now only kept in the code for the `span` it contains but it is not rendered into the HTML.
    
    So now some numbers:
    
    For these ones, on each page, I run this JS: `document.getElementsByTagName('*').length`. The goal is to count the number of DOM elements. I took some pages that seemed big, but don't hesitate to check some others.
    
    | file name | before this PR | with this PR | diff | without ident | diff |
    |-|-|-|-|-|-|
    | std/lib.rs.html (source link on std crate page) | 3455 | 2776 | 20.7% | 2387 | 31% |
    | alloc/vec/mod.rs.html (source on Vec type page) | 11012 | 8084 | 26.6% | 6682 | 39.4% |
    | alloc/string.rs.html (source on String type page) | 10800 | 8214 | 24% | 6712 | 37.9% |
    | std/sync/mutex.rs.html (source on Mutex type page) | 2953 | 2403 | 18.7% | 2139 | 27.6% |
    
    You can test it [here](https://rustdoc.crud.net/imperio/merge-html-elements-together/src/std/lib.rs.html).
    
    cc `@jsha`
    r? `@notriddle`
    bors committed Aug 14, 2022
    Configuration menu
    Copy the full SHA
    801821d View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2022

  1. Configuration menu
    Copy the full SHA
    73a3c7e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0329621 View commit details
    Browse the repository at this point in the history
  3. fix eval_outlives for higher-ranked regions

    When checking `'sup: 'sub`, take placeholder elements into account.
    
    This wasn't a problem previously (I hope!) because `eval_outlives` was
    only used for type_tests, which don't have higher-ranked outlive
    relations.
    aliemjay committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    3a423b7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fcbd6a3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e6b62a0 View commit details
    Browse the repository at this point in the history