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§
- Array
Type - Const
Ref - FnType
- PathId
- 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. - RefType
- Trait
Ref
Enums§
- Lifetime
Ref - Literal
Const Ref - A literal constant value
- Mutability
- Rawness
- Trait
Bound Modifier - A modifier on a bound, currently this is only used for
?Sized
, where the modifier isMaybe
. - Type
Bound - TypeRef
- Compare ty::Ty
- UseArg
Ref