Skip to main content

register_defs_from_source

Function register_defs_from_source 

Source
pub fn register_defs_from_source(krate: CrateNum, source: &str) -> usize
Expand description

Parse def declarations from source and insert them into the given crate’s namespace. Returns the number of defs registered.