Function rustc_builtin_macros::edition_panic::expand_unreachable

source ยท
pub(crate) fn expand_unreachable<'cx>(
    cx: &'cx mut ExtCtxt<'_>,
    sp: Span,
    tts: TokenStream,
) -> MacroExpanderResult<'cx>
Expand description

This expands to either

  • $crate::panic::unreachable_2015!(...) or
  • $crate::panic::unreachable_2021!(...) depending on the edition.