pub fn strip_import_items(items: Vec<Item>) -> Vec<Item>Expand description
Remove all Item::Import entries from a list of AST items.
Used when inlining module contents into a consumer program — the module’s own imports have already been resolved and should not pollute the consumer’s import set.