pub fn check_unselected_capabilities(
items: &[CommonsItem],
flattened: &HashMap<String, String>,
file: &FileConsumes<'_>,
) -> Vec<CompileError>Expand description
#3536: bynk.consumes.capability_not_selected, the same rule for the
capabilities a braced consumes U { Cap } flattens into the unit’s namespace:
naming one (a given clause, a call, provides, a derived capability’s
base) in a file whose own consumes does not list it. flattened is the
unit’s capabilities, each with its owner.