[−][src]Function rustc_typeck::check::compare_method::extract_spans_for_error_reporting
fn extract_spans_for_error_reporting<'a, 'gcx, 'tcx>(
infcx: &InferCtxt<'a, 'gcx, 'tcx>,
param_env: ParamEnv<'tcx>,
terr: &TypeError,
cause: &ObligationCause<'tcx>,
impl_m: &AssociatedItem,
impl_sig: FnSig<'tcx>,
trait_m: &AssociatedItem,
trait_sig: FnSig<'tcx>
) -> (Span, Option<Span>)
🔬 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?