Function rustc_builtin_macros::edition_panic::expand_unreachable
source · pub fn expand_unreachable<'cx>(
cx: &'cx mut ExtCtxt<'_>,
sp: Span,
tts: TokenStream
) -> Box<dyn MacResult + 'cx>
Expand description
This expands to either
$crate::panic::unreachable_2015!(...)
or$crate::panic::unreachable_2021!(...)
depending on the edition.