Skip to content

Tweaks to MIR building scope API#158706

Open
cjgillot wants to merge 2 commits into
rust-lang:mainfrom
cjgillot:drop-api
Open

Tweaks to MIR building scope API#158706
cjgillot wants to merge 2 commits into
rust-lang:mainfrom
cjgillot:drop-api

Conversation

@cjgillot

@cjgillot cjgillot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Some simplifications that come from staring too long at that code

cjgillot added 2 commits July 2, 2026 23:06
All call sites use a static `DropKind` value, and we already have a
dedicated named method for lints. Switch to only use dedicated methods for
consistency.
@rustbot

rustbot commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Some changes occurred in match lowering

cc @Nadrieril

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jul 2, 2026
@rustbot

rustbot commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

r? @jackh726

rustbot has assigned @jackh726.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler, mir
  • compiler, mir expanded to 75 candidates
  • Random selection from 20 candidates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants