Skip to main content

Module engine

Module engine 

Source

Re-exportsΒ§

use std::fmt::Debug; πŸ”’
use std::fmt::Debug; πŸ”’
use rustc_hir::def_id::DefId; πŸ”’
use rustc_middle::ty; πŸ”’
use rustc_middle::ty::Ty; πŸ”’
use rustc_middle::ty::TyVid; πŸ”’
use rustc_middle::ty::Upcast; πŸ”’
use thin_vec::ThinVec; πŸ”’
use thin_vec::thin_vec; πŸ”’
use super::ObligationCause; πŸ”’
use super::PredicateObligation; πŸ”’
use super::PredicateObligations; πŸ”’
use crate::infer::InferCtxt; πŸ”’
use crate::traits::Obligation; πŸ”’

EnumsΒ§

ScrubbedTraitError
A trait error with most of its information removed. This is the error returned by an ObligationCtxt by default, and suitable if you just want to see if a predicate holds, and don’t particularly care about the error itself (except for if it’s an ambiguity or true error).
TraitErrors

TraitsΒ§

FromSolverError
TraitEngine