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

Merged
merged 17 commits into from
Apr 13, 2023
Merged

Rollup of 6 pull requests #110275

merged 17 commits into from
Apr 13, 2023

Commits on Apr 10, 2023

  1. Stabilize IsTerminal

    joshtriplett committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    afd45c2 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2023

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

Commits on Apr 12, 2023

  1. region error cleanup

    - require `TypeErrCtxt` to always result in an error
    - move `resolve_regions_and_report_errors` to the `ObligationCtxt`
    - merge `process_registered_region_obligations` into `resolve_regions`
    lcnr committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    a19adef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cc82ccb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cdd9829 View commit details
    Browse the repository at this point in the history
  4. fix comment

    lcnr committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    c0d3d32 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2023

  1. Update unwind_safe.rs

    Typo in the documentation.
    justincredible authored Apr 13, 2023
    Configuration menu
    Copy the full SHA
    9b0ceb4 View commit details
    Browse the repository at this point in the history
  2. Make Region::as_var infallible.

    It's what all the call sites require.
    nnethercote committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    c802694 View commit details
    Browse the repository at this point in the history
  3. Remove impl ToRegionVid for RegionVid.

    It's weird and unnecessary.
    nnethercote committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    411422f View commit details
    Browse the repository at this point in the history
  4. Remove ToRegionVid.

    It is only implemented for `Region`, where it is equivalent to the
    inherent `as_var` method.
    nnethercote committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    bbc4009 View commit details
    Browse the repository at this point in the history
  5. Remove some unused type folders.

    I'm surprised the compiler doesn't warn about these. It appears having
    an `impl` on a struct is enough to avoid a warning about it never being
    constructed.
    nnethercote committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    72605cd View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#110072 - joshtriplett:stabilize-is-terminal…

    …, r=Mark-Simulacrum
    
    Stabilize IsTerminal
    
    FCP completed in rust-lang#98070 .
    
    closes: rust-lang#98070
    matthiaskrgr authored Apr 13, 2023
    Configuration menu
    Copy the full SHA
    6161fb8 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#110195 - compiler-errors:issue-110052, r=al…

    …iemjay
    
    Erase lifetimes above `ty::INNERMOST` when probing ambiguous types
    
    Turns out that `TyCtxt::replace_escaping_bound_vars_uncached` only erases bound vars exactly at `ty::INNERMOST`, and not everything above. This regresses the suggestions for non-lifetime binders, but oh well, I don't really care about those.
    
    Fixes rust-lang#110052
    matthiaskrgr authored Apr 13, 2023
    Configuration menu
    Copy the full SHA
    958413c View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#110218 - nnethercote:rm-ToRegionVid, r=comp…

    …iler-errors
    
    Remove `ToRegionVid`
    
    r? ```@compiler-errors```
    matthiaskrgr authored Apr 13, 2023
    Configuration menu
    Copy the full SHA
    35c4ea5 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#110220 - lcnr:regionzz, r=compiler-errors

    cleanup our region error API
    
    - require `TypeErrCtxt` to always result in an error, closing rust-lang#108810
    - move `resolve_regions_and_report_errors` to the `ObligationCtxt`
    - call `process_registered_region_obligations` in `resolve_regions`
    - move `resolve_regions` into the `outlives` submodule
    - add `#[must_use]` to functions returning lists of errors
    
    r? types
    matthiaskrgr authored Apr 13, 2023
    Configuration menu
    Copy the full SHA
    6f1500a View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#110234 - marc0246:btree-insert-after-fix, r…

    …=cuviper
    
    Fix btree `CursorMut::insert_after` check
    
    Fixes a check inside `BTreeMap`'s `CursorMut::insert_after`, where it would peek the previous element to check whether the inserted key is below the next one, instead of peeking the next element.
    matthiaskrgr authored Apr 13, 2023
    Configuration menu
    Copy the full SHA
    209e6d9 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#110262 - justincredible:patch-1, r=ChrisDenton

    Update unwind_safe.rs
    
    Typo in the documentation.
    matthiaskrgr authored Apr 13, 2023
    Configuration menu
    Copy the full SHA
    b14730f View commit details
    Browse the repository at this point in the history