Skip to main content

add_cfg_state_attributes

Function add_cfg_state_attributes 

Source
fn add_cfg_state_attributes(attrs: &mut Vec<Attribute>, new_attrs: &[Attribute])
Expand description

This function goes through the attributes list (new_attrs) and extracts the attributes that affect the cfg state propagated to detached items.