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