Skip to main content

InjectedUnits

Type Alias InjectedUnits 

Source
pub type InjectedUnits = Vec<&'static Unit>;
Expand description

The first-party units a project injected, as registry entries in ascending firstparty::Unit::id_block order. A unit whose source failed to parse is still listed, so its binding is still supplied. Its own uses/consumes cannot be read, though, so the units only it reaches are not injected: a malformed first-party source (which every_first_party_source_parses rejects in CI) reports its parse error and may add unresolved-name errors for those.

Aliased Typeยง

pub struct InjectedUnits { /* private fields */ }