Module rustc::middle::typeck::checkExperimental
[-]
[+]
[src]
Reexports
pub use self::LvaluePreference::*; |
pub use self::DerefArgs::*; |
Modules
| _match | |
| demand | |
| method | Method lookup: the secret sauce of Rust. See |
| regionck | The region check is a final pass that runs over the AST after we have inferred the type constraints but before we have actually finalized the types. Its purpose is to embed a variety of region constraints. Inserting these constraints as a separate pass is good because (1) it localizes the code that has to do with region inference and (2) often we cannot know what constraints are needed until the basic types have been inferred. |
| regionmanip | |
| vtable | |
| wf | |
| writeback |
Structs
| FnCtxt | |
| FnStyleState | |
| Inherited | Fields that are part of a |
Enums
| DerefArgs | |
| LvaluePreference |
Functions
| autoderef | Executes an autoderef loop for the type |
| blank_fn_ctxt | |
| check_block_no_value | |
| check_bounds_are_used | |
| check_const | |
| check_const_in_type | Checks a constant appearing in a type. At the moment this is just the length expression in a fixed-length vector, but someday it might be extended to type-level numeric literals. |
| check_const_with_ty | |
| check_decl_initializer | |
| check_decl_local | |
| check_enum_variants | |
| check_expr_has_type | |
| check_instantiable | Checks whether a type can be created without an instance of itself. This is similar but different from the question of whether a type can be represented. For example, the following type: |
| check_intrinsic_type | |
| check_item | |
| check_item_types | |
| check_representable | Checks whether a type can be represented in memory. In particular, it
identifies types that contain themselves without indirection through a
pointer, which would mean their size is unbounded. This is different from
the question of whether a type can be instantiated. See the definition of
|
| check_simd | |
| check_stmt | |
| check_struct | |
| impl_self_ty | |
| instantiate_path | |
| lookup_def | |
| lookup_field_ty | |
| lookup_tup_field_ty | |
| may_break | |
| polytype_for_def | |
| structurally_resolved_type | |
| structure_of | |
| valid_range_bounds |