Module rustc_typeck::check::op[][src]

Expand description

Code related to processing overloaded binary and unary operators.

Structs

Enums

Whether the binary operation is an assignment (a += b), or not (a + b)

Functions

Dereferences a single level of immutable referencing.

Returns true if this is a built-in arithmetic operation (e.g., u32 + u32, i16x4 == i16x4) and false if these types would have to be overloaded to be legal. There are two reasons that we distinguish builtin operations from overloaded ones (vs trying to drive everything uniformly through the trait system and intrinsics or something like that):