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

Closed
wants to merge 15 commits into from

Commits on Feb 16, 2023

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

Commits on Feb 17, 2023

  1. Configuration menu
    Copy the full SHA
    21bcd2e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    90cf0cc View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2023

  1. Configuration menu
    Copy the full SHA
    0b9a3e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f58c8ab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fec6ad6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7867aa8 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2023

  1. Configuration menu
    Copy the full SHA
    7596998 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#107911 - blyxyas:issue-107231-fix, r=compil…

    …er-errors
    
    Add check for invalid #[macro_export] arguments
    
    Resolves rust-lang#107231
    Sorry if I made something wrong, this is my first contribution to the repo.
    matthiaskrgr authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    ebe7393 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#108110 - compiler-errors:new-solver-less-in…

    …fcx, r=lcnr
    
    Move some `InferCtxt` methods to `EvalCtxt` in new solver
    
    Moving towards eventually making the `InferCtxt` within `EvalCtxt` private, so that we make sure not to do anything strange in the solver. This doesn't finish this work yet, just gets it started.
    
    r? `@lcnr`
    matthiaskrgr authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    06f3e5e View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#108168 - clubby789:recursive-type-alias, r=…

    …compiler-errors
    
    Fix ICE on type alias in recursion
    
    Fixes rust-lang#108160
    matthiaskrgr authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    e57a494 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#108176 - compiler-errors:bad-lexical-region…

    …-resolve-bug, r=oli-obk
    
    Don't delay `ReError` bug during lexical region resolve
    
    Lexical region resolution returns a list of `RegionResolutionError` which don't necessarily correspond to diagnostics being emitted. The compiler may, validly, throw away these resolution errors and do something else. Therefore it's not valid to use `ReError` during lifetime resolution, since we may actually be on a totally fine compilation path.
    
    For example, the `implied_bounds_entailment` lint runs region resolution twice, and only emits an error if it fails both times. If we delay a bug and create a `ReError` during this first run, then we will ICE.
    
    Fixes rust-lang#108170
    
    ----
    
    Side-note: this is conceptually equivalent to how we can't necessarily delay bugs or create `ty::Error` during trait solving/fulfillment, since the compiler is allowed to throw away these fulfillment errors to do other things. It's only once we actually emit an error (`report_region_errors` / `report_fulfillment_errors`)
    matthiaskrgr authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    13a36d0 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#108239 - clubby789:overlapping-spans, r=com…

    …piler-errors
    
    Fix overlapping spans in removing extra arguments
    
    Fixes rust-lang#108225
    
    Each span is already extended to include the previous comma, so extending to the *next* comma is unecessary and causes an ICE with assertions on.
    
    `@rustbot` label +A-diagnostics
    matthiaskrgr authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    2199207 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#108310 - GuillaumeGomez:fix-reexports-dupli…

    …cated-attributes, r=notriddle
    
    rustdoc: Fix duplicated attributes for first reexport
    
    Fixes rust-lang#108281.
    
    r? `@notriddle`
    matthiaskrgr authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    bd89a11 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#108318 - tmiasko:rm-get_cloexec, r=the8472

    Remove unused FileDesc::get_cloexec
    matthiaskrgr authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    9fe1198 View commit details
    Browse the repository at this point in the history