Skip to main content

rust_globs_parent_module

Function rust_globs_parent_module 

Source
pub fn rust_globs_parent_module(source: &str, root: Node<'_>) -> bool
Expand description

Whether the file has a file-level use super::*; (the import parser keeps no record of glob imports, so this reads the syntax tree directly).