expand_include_str

Function expand_include_str 

Source
pub(crate) fn expand_include_str(
    cx: &mut ExtCtxt<'_>,
    sp: Span,
    tts: TokenStream,
) -> MacroExpanderResult<'static>
Expand description

Expand include_str!($input) to the content of the UTF-8-encoded file given by path $input as a string literal.

This works in expression, pattern and statement position.