fn scan_items(src: &str) -> Vec<Item>
Walks top-level items, carrying each one’s attributes with it.
#[cfg(test)] modules are skipped whole; other inline modules are walked.
#[cfg(test)]