Module rustc_middle::thir

source ·
Expand description

THIR datatypes and definitions. See the rustc dev guide for more info.

If you compare the THIR ExprKind to hir::ExprKind, you will see it is a good bit simpler. In fact, a number of the more straight-forward MIR simplifications are already done in the lowering to THIR. For example, method calls and overloaded operators are absent: they are expected to be converted into ExprKind::Call instances.

Modules

Macros

Structs

A match arm.
A THIR expression.
Represents the association of a field identifier and an expression.
Description of a type-checked function parameter.
A container for a THIR body.

Enums

Constants

Type Definitions

UserTy 🔒