Skip to main content

get_struct_invariants_from_annotation

Function get_struct_invariants_from_annotation 

Source
pub(crate) fn get_struct_invariants_from_annotation<'tcx>(
    tcx: TyCtxt<'tcx>,
    struct_def_id: DefId,
    context_def_id: DefId,
) -> Vec<Property<'tcx>>
Expand description

Parses struct invariants from source-level RAPx annotations attached to a struct definition.