rustc_builtin_macros::source_util

Function expand_include

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

include! : parse the given file as an expr This is generally a bad idea because it’s going to behave unhygienically.