rustc_hir_typeck - Rust (original) (raw)
Crate rustc_hir_typeck
_match π
autoderef π
Some helper functions for AutoDeref
.
callee π
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.
A different sort of visitor for walking fn bodies. Unlike the normal visitor, which just walks the entire body in one shot, theExprUseVisitor
determines how expressions are being used.
fallback π
fn_ctxt π
gather_locals π
inline_asm π
intrinsicck π
loops π
method π
Method lookup: the secret sauce of Rust. See the rustc dev guide for more information.
naked_functions π
Checks validity of naked functions.
op π
Code related to processing overloaded binary and unary operators.
opaque_types π
pat π
place_op π
rvalue_scopes π
typeck_root_ctxt π
upvar π
Inferring borrow kinds for upvars
writeback π
During type inference, partially inferred terms are represented using inference variables (ty::Infer). These donβt appear in the final ty::TypeckResults since all of the types should have been inferred once typeck is done.
CoroutineTypes π
When check_fn
is invoked on a coroutine (i.e., a body that includes yield), it returns back some information about the yield points.
TupleArgumentsFlag π
Controls whether the arguments are tupled. This is used for the call operator.
Raw content of Fluent resource for this crate, generated by fluent_messages
macro, imported by rustc_driver
to include all cratesβ resources in one bundle.
Check whether ty
can be coerced to output_ty
. Used from clippy.
fatally_break_rust π
Same as typeck
but inspect
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.
report_unexpected_variant_res π
typeck π
typeck_with_inspect π
used_trait_imports π