Skip to content

move rustc_type_ir Term things to term_kind.rs#157419

Open
khyperia wants to merge 1 commit into
rust-lang:mainfrom
khyperia:term_kind_rs
Open

move rustc_type_ir Term things to term_kind.rs#157419
khyperia wants to merge 1 commit into
rust-lang:mainfrom
khyperia:term_kind_rs

Conversation

@khyperia
Copy link
Copy Markdown
Contributor

@khyperia khyperia commented Jun 4, 2026

  • TyKind, AliasTy, and AliasTyKind live in ty_kind.rs
  • ConstKind, UnevaluatedConst, and UnevaluatedConstKind live in const_kind.rs
  • TermKind, AliasTerm, and AliasTermKind live in... generic_arg.rs and predicate.rs ???

create a new file, term_kind.rs, that holds TermKind, AliasTerm, and AliasTermKind

(note that Ty, Const, and Term live in rustc_middle, not rustc_type_ir)

@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 Jun 4, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Jun 4, 2026

r? @dingxiangfei2009

rustbot has assigned @dingxiangfei2009.
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, types
  • compiler, types expanded to 73 candidates
  • Random selection from 18 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