pub fn function_has_struct_invariant(tcx: TyCtxt<'_>, def_id: DefId) -> bool
Quick check: does this function’s owning struct have invariants?