Modules§
- _match 🔒
- autoderef 🔒
- Some helper functions for
AutoDeref
. - callee 🔒
- cast
- Code for type-checking cast expressions.
- check 🔒
- closure 🔒
- Code for type-checking closure expressions.
- coercion 🔒
- Type Coercion
- demand 🔒
- diverges 🔒
- errors 🔒
- Errors emitted by
rustc_hir_typeck
. - expectation 🔒
- expr 🔒
- Type checking expressions.
- expr_
use_ visitor - A different sort of visitor for walking fn bodies. Unlike the
normal visitor, which just walks the entire body in one shot, the
ExprUseVisitor
determines how expressions are being used. - fallback 🔒
- fn_ctxt 🔒
- gather_
locals 🔒 - intrinsicck 🔒
- method 🔒
- Method lookup: the secret sauce of Rust. See the rustc dev guide for more information.
- op 🔒
- Code related to processing overloaded binary and unary operators.
- pat 🔒
- place_
op 🔒 - rvalue_
scopes 🔒 - typeck_
root_ 🔒ctxt - upvar 🔒
- Inferring borrow kinds for upvars
- writeback 🔒
Macros§
Structs§
- Breakable
Ctxt - Coroutine
Types 🔒 - When
check_fn
is invoked on a coroutine (i.e., a body that includes yield), it returns back some information about the yield points. - Enclosing
Breakables
Enums§
- Needs
- PlaceOp
- Tuple
Arguments 🔒Flag - Controls whether the arguments are tupled. This is used for the call operator.
Statics§
- DEFAULT_
LOCALE_ RESOURCE - Raw content of Fluent resource for this crate, generated by
fluent_messages
macro, imported byrustc_driver
to include all crates’ resources in one bundle.
Functions§
- can_
coerce - Check whether
ty
can be coerced tooutput_ty
. Used from clippy. - fatally_
break_ 🔒rust - infer_
type_ 🔒if_ missing - inspect_
typeck - Same as
typeck
butinspect
is invoked on evaluation of each root obligation. Inspecting obligations only works with the new trait solver. This function is only to be used by external tools, it should not be called from within rustc. Note, this is not a query, and thus is not cached. - provide
- report_
unexpected_ 🔒variant_ res - typeck 🔒
- typeck_
with_ 🔒inspect - used_
trait_ 🔒imports