Skip to content

remove IsTypeConst from hir::TraitItemKind#157330

Draft
josetorrs wants to merge 5 commits into
rust-lang:mainfrom
josetorrs:remove-is-type-const
Draft

remove IsTypeConst from hir::TraitItemKind#157330
josetorrs wants to merge 5 commits into
rust-lang:mainfrom
josetorrs:remove-is-type-const

Conversation

@josetorrs
Copy link
Copy Markdown
Contributor

#152940

following up on #152940 (comment)

r? @BoxyUwU

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Jun 2, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Jun 2, 2026

BoxyUwU is currently at their maximum review capacity.
They may take a while to respond.

Comment on lines 3365 to +3366
// FIXME(mgca) eventually want to move the option that is around `ConstItemRhs<'hir>`
// into `ConstItemRhs`, much like `ast::ConstItemRhsKind`, but for now mark whether
// this node is a TypeConst with a flag.
// into `ConstItemRhs`, much like `ast::ConstItemRhsKind`
Copy link
Copy Markdown
Contributor Author

@josetorrs josetorrs Jun 2, 2026

Choose a reason for hiding this comment

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

I think resolving the FIXME deserves it's own issue, would like to give it a try if there's an appetite for it

View changes since the review

@rust-log-analyzer

This comment has been minimized.

@rustbot rustbot added the T-clippy Relevant to the Clippy team. label Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants