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

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Code related to processing overloaded binary and unary operators.

Re-exports

use super::FnCtxt;
use super::Needs;
use super::method::MethodCallee;
use rustc::ty;
use rustc::ty::Ty;
use rustc::ty::TypeFoldable;
use rustc::ty::TypeVariants;
use rustc::ty::TypeVariants::TyStr;
use rustc::ty::TypeVariants::TyRef;
use rustc::ty::TypeVariants::TyAdt;
use rustc::ty::adjustment::Adjustment;
use rustc::ty::adjustment::Adjust;
use rustc::ty::adjustment::AllowTwoPhase;
use rustc::ty::adjustment::AutoBorrow;
use rustc::ty::adjustment::AutoBorrowMutability;
use rustc::infer::type_variable::TypeVariableOrigin;
use errors;
use syntax_pos::Span;
use syntax::symbol::Symbol;
use rustc::hir;

Enums

BinOpCategory [
Experimental
]
IsAssign [
Experimental
]

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

Op [
Experimental
]

Functions

is_builtin_binop [
Experimental
]

Returns true if this is a built-in arithmetic operation (e.g. u32