Macro try_compile_str

Source
macro_rules! try_compile_str {
    ($config:expr, $expr:expr $(,)?) => { ... };
    ($expr:expr $(,)?) => { ... };
}
Expand description

Compiles the given string of tokens and returns the output.

This macro will return an error if we fail to invoke the compiler.

Same as the try_compile! macro, but for strings similar usage to compile_str!.