Module rustc_typeck::check::callee[][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?

Re-exports

use super::Expectation;
use super::FnCtxt;
use super::Needs;
use super::TupleArgumentsFlag;
use super::autoderef::Autoderef;
use super::method::MethodCallee;
use hir::def::Def;
use hir::def_id::DefId;
use hir::def_id::LOCAL_CRATE;
use rustc::infer;
use rustc::traits;
use rustc::ty;
use rustc::ty::TyCtxt;
use rustc::ty::TypeFoldable;
use rustc::ty::Ty;
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_target::spec::abi;
use syntax::symbol::Symbol;
use syntax_pos::Span;
use rustc::hir;

Structs

DeferredCallResolution [
Experimental
]

Enums

CallStep [
Experimental
]

Functions

check_legal_trait_for_method_call [
Experimental
]

Check that it is legal to call methods of the trait corresponding to trait_id (this only cares about the trait, not the specific method that is called)