Type Alias rustc_infer::traits::ObligationInspector

source ·
pub type ObligationInspector<'tcx> = fn(_: &InferCtxt<'tcx>, _: &PredicateObligation<'tcx>, _: Result<Certainty, NoSolution>);
Expand description

A callback that can be provided to inspect_typeck. Invoked on evaluation of root obligations.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 8 bytes