Crate rustc_hir_typeck
source Β·ModulesΒ§
- _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, the
ExprUseVisitordetermines 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Β§
- CoroutineTypes πWhen
check_fnis invoked on a coroutine (i.e., a body that includes yield), it returns back some information about the yield points.
EnumsΒ§
- TupleArgumentsFlag πControls whether the arguments are tupled. This is used for the call operator.
StaticsΒ§
- Raw content of Fluent resource for this crate, generated by
fluent_messagesmacro, imported byrustc_driverto include all cratesβ resources in one bundle.
FunctionsΒ§
- Check whether
tycan be coerced tooutput_ty. Used from clippy. - Used only to get
TypeckResultsfor type inference during error recovery. Currently only used for type inference ofstatics andconsts to avoid type cycle errors. - fatally_break_rust π
- Same as
typeckbutinspectis 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. - typeck π
- typeck_with_fallback π
- used_trait_imports π