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 6 pull requests #117103

Merged
merged 13 commits into from
Oct 24, 2023
Merged

Rollup of 6 pull requests #117103

merged 13 commits into from
Oct 24, 2023

Commits on Jul 30, 2023

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

Commits on Oct 21, 2023

  1. Make ty::print::Printer take &mut self instead of self

    This simplifies the code by removing all the `self` assignments and
    makes the flow of data clearer - always into the printer.
    Especially in v0 mangling, which already used  `&mut self` in some
    places, it gets a lot more uniform.
    Noratrieb committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    5acf26b View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. rustdoc: wrap Type with Box instead of Generics

    When these `Box<Generics>` types were introduced,
    `Generics` was made with `Vec` and much larger.
    Now that it's made with `ThinVec`, `Type` is bigger
    and should be boxed instead.
    notriddle committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    b67985e View commit details
    Browse the repository at this point in the history
  2. Remove FIXME after fix

    Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
    notriddle and fmease authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    f1a1ef6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6de40ab View commit details
    Browse the repository at this point in the history
  4. Update .mailmap to promote my livename

    I had apparently forgotten to update the Rust mailmap file for my previous commits!
    Amanda Stjerna authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    320ca83 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dc1cd4c View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#107159 - devnexen:random_fbsd_update, r=wor…

    …kingjubilee
    
    rand use getrandom for freebsd (available since 12.x)
    matthiaskrgr authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    d287861 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#116859 - Nilstrieb:more-more-funny-pretty-p…

    …rinters, r=oli-obk
    
    Make `ty::print::Printer` take `&mut self` instead of `self`
    
    based on rust-lang#116815
    
    This simplifies the code by removing all the `self` assignments and
    makes the flow of data clearer - always into the printer.
    Especially in v0 mangling, which already used  `&mut self` in some
    places, it gets a lot more uniform.
    matthiaskrgr authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    8af4a3f View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#117046 - bvanjoi:fix-116186, r=oli-obk

    return unfixed len if pat has reported error
    
    - Fixes rust-lang#116186
    - Fixes rust-lang#113021
    
    This issue arises due to the creation of a fixed-length pattern, as a result of the mir body corruption. The corruption taints `tcx.eval_to_allocation_raw`, causing it to return `AlreadyReported`. Consequently, this prevents `len.try_eval_target_usize` from evaluating correctly and returns `None`. Lastly, it results in the return of `[usize; min_len]`.
    
    To rectify this issue, my approach is that to return unfixed when encountering `ErrorHandled::Reported`. Additionally, in instances of `ErrorHandled::TooGeneric`, the previous logic has been reinstated.
    matthiaskrgr authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    7e607e8 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#117070 - notriddle:notriddle/cleanx, r=fmease

    rustdoc: wrap Type with Box instead of Generics
    
    When these `Box<Generics>` types were introduced, `Generics` was made with `Vec` and much larger. Now that it's made with `ThinVec`, `Type` is bigger and should be boxed instead.
    matthiaskrgr authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    22c9731 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#117074 - ouz-a:remove_smir, r=compiler-errors

    Remove smir from triage and add me to stablemir
    
    As we discussed this in [weekly ](https://rust-lang.zulipchat.com/#narrow/stream/320896-project-stable-mir/topic/.5Bbi-weekly.5D.202023-10-20)meeting we don't really care for changes that happens in `smir`, we only care about changes that happen to `stable_mir` so I removed smir triage ping and added myself to `stable_mir` ping list
    matthiaskrgr authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    4ffc0ac View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#117086 - amandasystems:patch-1, r=Mark-Simu…

    …lacrum
    
    Update .mailmap to promote my livename
    
    I had apparently forgotten to update the Rust mailmap file for my previous commits. I was sent here from [the about page!](https://thanks.rust-lang.org/about/).
    
    Note that the second rule only fires for commits I do at my current place of work, but reclaim them under my personal email address that I expect to use for longer.
    matthiaskrgr authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    85e1a5b View commit details
    Browse the repository at this point in the history