fn contract_id_of<'hir>(
gcx: Gcx<'hir>,
_hir: &'hir Hir<'hir>,
current_contract: Option<ContractId>,
expr: &'hir Expr<'hir>,
) -> Option<ContractId>Expand description
Extracts the contract ID from an expression whose static type is a contract or interface.