Structs§
- A type id of a closure function.
- An impl item of kind type.
Enums§
- Head of a type. A type that is not one of {generic param, type variable, impl type} has a head, which represents the kind of the root node in its type tree. This is used for caching queries for fast lookups when the type is not completely inferred yet.
Functions§
- Adds diagnostics for a type, post semantic analysis of types.
- Extracts the size of a fixed size array, or none if the size is missing. Reports an error if the size is not a numeric literal.
- Query implementation of crate::db::SemanticGroup::generic_type_generic_params.
- Checks if there is at least one impl that can be inferred for a specific concrete trait.
- Peels all wrapping Snapshot (
@
) from the type. Returns the number of peeled snapshots and the inner type. - Same as
peel_snapshots
, but takes aTypeLongId
instead of aTypeId
. - Resolves a type given a module and a path.
- Query implementation of crate::db::SemanticGroup::single_value_type.
- Query implementation of crate::db::SemanticGroup::type_info.
- Query implementation of crate::db::SemanticGroup::type_size_info.
- Cycle handling of crate::db::SemanticGroup::type_size_info.
- Verifies that a given fixed size array size is within limits, and adds a diagnostic if not.
- Wraps a type with Snapshot (
@
)n_snapshots
times.