lynx   ยป   [go: up one dir, main page]

Crate rustc_hir_typeck

Source

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ยง

type_error_struct

Structsยง

BreakableCtxt
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.
EnclosingBreakables

Enumsยง

Needs
PlaceOp
TupleArgumentsFlag ๐Ÿ”’
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 by rustc_driver to include all cratesโ€™ resources in one bundle.

Functionsยง

can_coerce
Check whether ty can be coerced to output_ty. Used from clippy.
fatally_break_rust ๐Ÿ”’
infer_type_if_missing ๐Ÿ”’
inspect_typeck
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.
provide
report_unexpected_variant_res ๐Ÿ”’
typeck ๐Ÿ”’
typeck_with_inspect ๐Ÿ”’
used_trait_imports ๐Ÿ”’
ะ›ัƒั‡ัˆะธะน ั‡ะฐัั‚ะฝั‹ะน ั…ะพัั‚ะธะฝะณ