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 #92719

Merged
merged 15 commits into from
Jan 10, 2022
Merged

Rollup of 7 pull requests #92719

merged 15 commits into from
Jan 10, 2022

Commits on Dec 24, 2021

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

Commits on Dec 28, 2021

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

Commits on Jan 1, 2022

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

Commits on Jan 7, 2022

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

Commits on Jan 8, 2022

  1. Make source links look cleaner

    Change from syntaxy-looking [src] to the plain word "source".
    jsha committed Jan 8, 2022
    Configuration menu
    Copy the full SHA
    962c0a4 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2022

  1. Release notes: add Result::unwrap_{,err_}unchecked

    They were stabilized together with `Option::unwrap_unchecked`
    in rust-lang#81383.
    
    Signed-off-by: Miguel Ojeda <[email protected]>
    ojeda committed Jan 9, 2022
    Configuration menu
    Copy the full SHA
    2d19606 View commit details
    Browse the repository at this point in the history
  2. Clean up lang_items::extract

    Noted in rust-lang#87739 (review),
    lang_items::extract no longer needs to take a closure.
    ehuss committed Jan 9, 2022
    Configuration menu
    Copy the full SHA
    2b75720 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2022

  1. miri

    RalfJung committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    c8ff804 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#92248 - compiler-errors:normalize-type-for-…

    …pointee, r=jackh726
    
    Normalize struct tail type when checking Pointee trait
    
    Let's go ahead and implement the FIXMEs by properly normalizing the struct-tail type when satisfying a Pointee obligation. This should fix the ICE when we try to calculate a layout depending on `<Ty as Pointee>::Metadata` later.
    Fixes rust-lang#92128
    Fixes rust-lang#92577
    
    Additionally, mark the obligation as ambiguous if there are any infer types in that struct-tail type. This has the effect of causing `<_ as Pointee>::Metadata` to be properly replaced with an infer variable ([here](https://github.com/rust-lang/rust/blob/master/compiler/rustc_trait_selection/src/traits/project.rs#L813)) and registered as an obligation... this turns out to be very important in unifying function parameters with formals that are assoc types.
    
    Fixes rust-lang#91446
    matthiaskrgr authored Jan 10, 2022
    Configuration menu
    Copy the full SHA
    6466f89 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#92357 - GuillaumeGomez:fix-doc-comment-back…

    …line-removal, r=camelid
    
    Fix invalid removal of newlines from doc comments
    
    Fixes rust-lang#91201.
    
    Before:
    
    ![Screenshot from 2021-12-28 17-02-11](https://user-images.githubusercontent.com/3050060/147585187-c8e67531-c1b4-457d-9d30-d5b44bf91fea.png)
    
    After:
    
    ![Screenshot from 2021-12-28 17-02-25](https://user-images.githubusercontent.com/3050060/147585190-30aa0398-1fc7-4fe7-9e8b-5c475d4f9613.png)
    
    r? `@camelid`
    matthiaskrgr authored Jan 10, 2022
    Configuration menu
    Copy the full SHA
    d20affb View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#92602 - jsha:source-link-2, r=GuillaumeGomez

    Make source links look cleaner
    
    Change from syntaxy-looking [src] to the plain word "source".
    
    Change the syntaxy-looking `[-]` at the top of the page to say "collapse".
    
    Reduce opacity of rightside content.
    
    Part of rust-lang#59851
    
    r? `@GuillaumeGomez`
    
    Demo: https://rustdoc.crud.net/jsha/source-link-2/std/string/struct.String.html
    
    [Discussed on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/266220-rustdoc/topic/display.20of.20source.20link).
    matthiaskrgr authored Jan 10, 2022
    Configuration menu
    Copy the full SHA
    a4ac4fa View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#92636 - compiler-errors:normalize-generator…

    …-const-expr, r=oli-obk
    
    Normalize generator-local types with unevaluated constants
    
    Normalize generator-interior types in addition to (i.e. instead of just) erasing regions, since sometimes we collect types with unevaluated const exprs.
    
    Fixes rust-lang#84737
    Fixes rust-lang#88171
    Fixes rust-lang#92091
    Fixes rust-lang#92634
    Probably also fixes rust-lang#73114, but that one has no code I could test. It looks like it's the same issue, though.
    matthiaskrgr authored Jan 10, 2022
    Configuration menu
    Copy the full SHA
    ca9fc28 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#92693 - ojeda:relnotes, r=pietroalbini

    Release notes: add `Result::unwrap_{,err_}unchecked`
    
    They were stabilized together with `Option::unwrap_unchecked`
    in rust-lang#81383.
    
    Signed-off-by: Miguel Ojeda <[email protected]>
    matthiaskrgr authored Jan 10, 2022
    Configuration menu
    Copy the full SHA
    80275d6 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#92702 - ehuss:clean-lang_items-extract, r=p…

    …etrochenkov
    
    Clean up lang_items::extract
    
    Noted in rust-lang#87739 (review),
    lang_items::extract no longer needs to take a closure.
    matthiaskrgr authored Jan 10, 2022
    Configuration menu
    Copy the full SHA
    6719e3e View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#92717 - RalfJung:miri, r=RalfJung

    update miri
    
    Fixes rust-lang#92691
    r? `@ghost`
    matthiaskrgr authored Jan 10, 2022
    Configuration menu
    Copy the full SHA
    3d5db0e View commit details
    Browse the repository at this point in the history