Skip to main content

get_contract_from_annotation

Function get_contract_from_annotation 

Source
pub(crate) fn get_contract_from_annotation<'tcx>(
    tcx: TyCtxt<'tcx>,
    def_id: DefId,
) -> Vec<Property<'tcx>>
Expand description

Parses requires contracts from source-level RAPx annotations attached to a definition.