Expand description
HIR for references to types. Paths in these are not yet resolved. They can be directly created from an ast::TypeRef, without further queries.
Structs§
- A
TypeRefId
that is guaranteed to always beTypeRef::Path
. We use this for things like impl’s trait, that are always paths but need to be traced back to source code.
Enums§
- A literal constant value
- A modifier on a bound, currently this is only used for
?Sized
, where the modifier isMaybe
. - Compare ty::Ty