Skip to main content

lint

Function lint 

Source
pub fn lint(all: &[Pack]) -> Vec<Problem>
Expand description

Check packs against each other and against what a pack is for:

  • error: an ordinary node (not a type, link type, rule or plane) inside a pack;
  • warning: a type or link type another pack in the library also defines, when neither brings the other (two meanings for one name);
  • warning: a type named in a from/to list, a rule’s filter or a check that neither the pack nor what it relies on defines.