Skip to content

Conversation

regexident
Copy link
Contributor

Currently you have to do param.merge().parent(db) for TypeParam, which slightly less ergonomic, but most importantly it requires you to be aware of the available detour via TypeOrConstParam.

With its sibling ConstParam you can already do param.parent(db). Now with TypeParam you can, too.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 19, 2025
@flodiebold
Copy link
Member

Thanks!

@flodiebold flodiebold added this pull request to the merge queue Jun 20, 2025
Merged via the queue into rust-lang:master with commit b0552d7 Jun 20, 2025
14 checks passed
@regexident regexident deleted the type-param-parent-getter branch June 20, 2025 10:02
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants