Module rustc_hir_analysis::collect::item_bounds
source · Structs§
- AssocTyToOpaque π
Functions§
- For associated types we include both bounds written on the type (
type X: Trait
) and predicates from the trait:where Self::X: Trait
. - explicit_item_bounds π
- item_bounds π
- opaque_type_bounds πOpaque types donβt inherit bounds from their parent: for return position impl trait it isnβt possible to write a suitable predicate on the containing function and for type-alias impl trait we donβt have a backwards compatibility issue.