compile_str

Function compile_str 

Source
pub fn compile_str(
    name: &str,
    src: &str,
) -> (Option<Placed>, Diagnostics, SourceMap)
Expand description

Compile one source string against a fresh source map. The shape every test uses.