Skip to main content

check_exports

Function check_exports 

Source
pub fn check_exports(
    exports: &[String],
    kinds: &BTreeMap<String, UnitKind>,
) -> Vec<CompileError>
Expand description

The diagnostics for exports against kinds. A first-party unit is never the project’s own, so it counts as undeclared.