Skip to content

Extract TraitImplHeader in AST/HIR#144386

Merged
bors merged 5 commits intorust-lang:masterfrom
camsteffen:imploftrait
Aug 12, 2025
Merged

Extract TraitImplHeader in AST/HIR#144386
bors merged 5 commits intorust-lang:masterfrom
camsteffen:imploftrait

Conversation

@camsteffen
Copy link
Copy Markdown
Contributor

@camsteffen camsteffen commented Jul 24, 2025

Several fields of Impl are only applicable when it's a trait impl. This moves those fields into a new struct that is only present for trait impls.

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

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) disposition-merge This issue / PR is in PFCP or FCP with a disposition to merge it. finished-final-comment-period The final comment period is finished for this PR / Issue. I-lang-radar Items that are on lang's radar and will need eventual work or consideration. needs-fcp This change is insta-stable, or significant enough to need a team FCP to proceed. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-clippy Relevant to the Clippy team. T-lang Relevant to the language team

Projects

None yet

Development

Successfully merging this pull request may close these issues.