get_contract_from_annotation

Function get_contract_from_annotation 

Source
fn get_contract_from_annotation<'tcx>(
    tcx: TyCtxt<'tcx>,
    def_id: DefId,
) -> FnContracts<'tcx>
Expand description

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