flux_refineck::invariants

Function check_invariant

Source
fn check_invariant(
    genv: GlobalEnv<'_, '_>,
    cache: &mut QueryCache,
    def_id: MaybeExternId,
    adt_def: &AdtDef,
    span: Span,
    invariant: &Invariant,
    checker_config: CheckerConfig,
) -> Result<(), ErrorGuaranteed>