Struct rustc_mir_dataflow::ty::error::ExpectedFound [−][src]
pub struct ExpectedFound<T> {
pub expected: T,
pub found: T,
}Fields
expected: Tfound: TAuto Trait Implementations
impl<T> RefUnwindSafe for ExpectedFound<T> where
T: RefUnwindSafe,
impl<T> Send for ExpectedFound<T> where
T: Send,
impl<T> Sync for ExpectedFound<T> where
T: Sync,
impl<T> Unpin for ExpectedFound<T> where
T: Unpin,
impl<T> UnwindSafe for ExpectedFound<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn subst_spanned(
self,
tcx: TyCtxt<'tcx>,
substs: &[GenericArg<'tcx>],
span: Option<Span>
) -> T
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.