Skip to content

Add a missing GenericTypeVisitable, and avoid having interner traits for FnSigKind and Abi#155562

Open
ChayimFriedman2 wants to merge 2 commits intorust-lang:mainfrom
ChayimFriedman2:no-traits
Open

Add a missing GenericTypeVisitable, and avoid having interner traits for FnSigKind and Abi#155562
ChayimFriedman2 wants to merge 2 commits intorust-lang:mainfrom
ChayimFriedman2:no-traits

Conversation

@ChayimFriedman2
Copy link
Copy Markdown
Contributor

r? types

@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 20, 2026

HIR ty lowering was modified

cc @fmease

This PR changes rustc_public

cc @oli-obk, @celinval, @ouz-a, @makai410

@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 Apr 20, 2026
@rust-log-analyzer

This comment has been minimized.

@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 20, 2026

The Miri subtree was changed

cc @rust-lang/miri

@rust-log-analyzer

This comment has been minimized.

@rust-bors

This comment has been minimized.

@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 21, 2026

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

Instead, just use the concrete types `FnSigKind` and `rustc_abi::ExternAbi`. This simplifies the code in both rustc and rust-analyzer.
Comment thread compiler/rustc_type_ir/src/ty_kind.rs
Copy link
Copy Markdown
Contributor

@nikomatsakis nikomatsakis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a win to me.

If I'm following, @ChayimFriedman2, this basically gives you more shared code that can be reused?

View changes since this review

@ChayimFriedman2
Copy link
Copy Markdown
Contributor Author

Yes. As long as r-a and rustc don't need to diverge, we should prefer to share the code.

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.

5 participants