Skip to main content

Module resolve_slots

Module resolve_slots 

Source
Expand description

resolve_slots + pre-flight. Final check before a ModelProto is emitted: rejects a Module where the same role domain hosts BOTH a concrete-type provider AND a generic (required_trait, slot_id) provider โ€” that combination is AmbiguousRole.

The runner maps CompileError::AmbiguousRole to BuildError::AmbiguousRole on the public Module::build() surface.

Functionsยง

resolve_slots
Resolve slots + run pre-flight. Pure.