Skip to main content

reserved_type_names

Function reserved_type_names 

Source
pub fn reserved_type_names(targets: Targets) -> Vec<ReservedTypeName>
Expand description

The crate-root type names the requested targets emit. A component schema whose generated name matches one of these will produce a duplicate item, so crate::lower::check_type_name_collisions rejects it up front.