Enum rustc_typeck::check::method::probe::LookingFor
[−]
[src]
pub enum LookingFor<'tcx> { MethodName(Name), ReturnType(Ty<'tcx>), }
🔬 This is a nightly-only experimental API. (
rustc_private
)Variants
MethodName(Name)
🔬 This is a nightly-only experimental API. (
rustc_private
)looking for methods with the given name; this is the normal case
ReturnType(Ty<'tcx>)
🔬 This is a nightly-only experimental API. (
rustc_private
)looking for methods that return a given type; this is used to assemble suggestions