Module rustc_typeck::check::method::probe [−][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::MethodError; |
use super::NoMatchData; |
use super::CandidateSource; |
use super::ImplSource; |
use super::TraitSource; |
use super::suggest; |
use check::FnCtxt; |
use hir::def_id::DefId; |
use hir::def::Def; |
use namespace::Namespace; |
use rustc::ty::subst::Subst; |
use rustc::ty::subst::Substs; |
use rustc::traits; |
use rustc::traits::ObligationCause; |
use rustc::ty; |
use rustc::ty::Ty; |
use rustc::ty::ToPolyTraitRef; |
use rustc::ty::ToPredicate; |
use rustc::ty::TraitRef; |
use rustc::ty::TypeFoldable; |
use rustc::infer::type_variable::TypeVariableOrigin; |
use rustc::util::nodemap::FxHashSet; |
use rustc::infer; |
use rustc::infer::InferOk; |
use rustc::middle::stability; |
use syntax::ast; |
use syntax::util::lev_distance::lev_distance; |
use syntax::util::lev_distance::find_best_match_for_name; |
use syntax_pos::Span; |
use syntax_pos::symbol::Symbol; |
use rustc::hir; |
use rustc::lint; |
use std::mem; |
use std::ops::Deref; |
use std::rc::Rc; |
use std::cmp::max; |
use self::CandidateKind::*; |
pub use self::PickKind::*; |
Structs
Candidate |
[ Experimental ]
|
CandidateStep |
[ Experimental ]
|
IsSuggestion |
[ Experimental ] Boolean flag used to indicate if this search is for a suggestion or not. If true, we can allow ambiguity and so forth. |
Pick |
[ Experimental ]
|
ProbeContext |
[ Experimental ]
|
Enums
CandidateKind |
[ Experimental ]
|
Mode |
[ Experimental ]
|
PickKind |
[ Experimental ]
|
ProbeResult |
[ Experimental ]
|
ProbeScope |
[ Experimental ]
|
Type Definitions
PickResult |
[ Experimental ]
|