Skip to main content

Module prove_predicate

Module prove_predicate 

Source

Re-exportsΒ§

use rustc_infer::traits::Obligation; πŸ”’
use rustc_middle::traits::ObligationCause; πŸ”’
use rustc_middle::traits::query::NoSolution; πŸ”’
use rustc_middle::ty; πŸ”’
use rustc_middle::ty::ParamEnvAnd; πŸ”’
use rustc_middle::ty::TyCtxt; πŸ”’
use crate::infer::InferCtxt; πŸ”’
use crate::infer::canonical::CanonicalQueryInput; πŸ”’
use crate::infer::canonical::CanonicalQueryResponse; πŸ”’
use crate::traits::ObligationCtxt; πŸ”’
use crate::traits::implicit_fast_path; πŸ”’

StructsΒ§

ProvePredicate

FunctionsΒ§

type_op_prove_predicate_with_cause
The core of the type_op_prove_predicate query: for diagnostics purposes in NLL HRTB errors, this query can be re-run to better track the span of the obligation cause, and improve the error message. Do not call directly unless you’re in that very specific context.