Skip to main content

register_compound_properties

Function register_compound_properties 

Source
pub(crate) fn register_compound_properties(tcx: TyCtxt<'_>) -> usize
Expand description

Scan the local crate for #[rapx::def_property("...")] tool attributes (emitted by the rapx_macros::pred proc-macro) and register each embedded compound-property string. Returns the number of compounds registered.