Skip to content

Add an API to get associated items #87

Closed
rust-lang/rust
#138826
@celinval

Description

@celinval

I would like to retrieve all associated items of a definition. Similar to CrateDefType, this could be provided via a trait CrateDefItems that return a list / map of all associated items.

Something similar to https://github.com/rust-lang/rust/blob/5affbb17153bc69a9d5d8d2faa4e399a014a211e/compiler/rustc_ty_utils/src/assoc.rs#L84.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions