Skip to main content

is_cross_file_symbol

Function is_cross_file_symbol 

Source
pub fn is_cross_file_symbol(doc: &DocumentState, name: &str) -> bool
Expand description

Is name a symbol other files can see from THIS document’s point of view? True when the document doesn’t define it (the usage reaches across files) or defines it as API shape. A local Let x is nobody’s business.