Module rustc_typeck::check::method [−][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?
Method lookup: the secret sauce of Rust. See the rustc guide chapter.
Re-exports
use check::FnCtxt; |
use hir::def::Def; |
use hir::def_id::DefId; |
use namespace::Namespace; |
use rustc::ty::subst::Substs; |
use rustc::traits; |
use rustc::ty; |
use rustc::ty::Ty; |
use rustc::ty::ToPredicate; |
use rustc::ty::ToPolyTraitRef; |
use rustc::ty::TraitRef; |
use rustc::ty::TypeFoldable; |
use rustc::ty::GenericParamDefKind; |
use rustc::ty::subst::Subst; |
use rustc::infer; |
use rustc::infer::InferOk; |
use syntax::ast; |
use syntax_pos::Span; |
use rustc::hir; |
use rustc_data_structures::sync::Lrc; |
pub use self::MethodError::*; |
pub use self::CandidateSource::*; |
pub use self::suggest::TraitInfo; |
use self::probe::IsSuggestion; |
use self::probe::ProbeScope; |
Modules
confirm |
[ Experimental ]
|
probe |
[ Experimental ]
|
suggest |
[ Experimental ] Give useful errors and suggestions to users when an item can't be found or is otherwise invalid. |
Structs
MethodCallee |
[ Experimental ]
|
NoMatchData |
[ Experimental ]
|
Enums
CandidateSource |
[ Experimental ]
|
MethodError |
[ Experimental ]
|
Functions
provide |
[ Experimental ]
|