Module op
rustc_
hir_
typeck
1.84.0-dev
Module op
Module Items
Enums
Functions
In crate rustc_
hir_
typeck
Modules
_match
autoderef
callee
cast
check
closure
coercion
demand
diverges
errors
expectation
expr
expr_use_visitor
fallback
fn_ctxt
gather_locals
intrinsicck
method
op
pat
place_op
rvalue_scopes
typeck_root_ctxt
upvar
writeback
Macros
type_error_struct
Structs
BreakableCtxt
CoroutineTypes
EnclosingBreakables
Enums
Needs
PlaceOp
TupleArgumentsFlag
Statics
DEFAULT_LOCALE_RESOURCE
Functions
can_coerce
diagnostic_only_typeck
fatally_break_rust
infer_type_if_missing
inspect_typeck
provide
report_unexpected_variant_res
typeck
typeck_with_fallback
used_trait_imports
rustc_hir_typeck
Module
op
Copy item path
Settings
Help
Summary
Source
Expand description
Code related to processing overloaded binary and unary operators.
Enums
§
BinOp
Category
🔒
IsAssign
🔒
Whether the binary operation is an assignment (
a += b
), or not (
a + b
)
Op
🔒
Functions
§
deref_
ty_
if_
possible
🔒
Dereferences a single level of immutable referencing.
is_
builtin_
binop
🔒
Returns
true
if this is a built-in arithmetic operation (e.g., u32
lang_
item_
for_
op
🔒