From ae478edd072d05c83f3c42a3fcad865d058d0e2c Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 20 Nov 2024 22:06:45 -0800 Subject: [PATCH] Change mismatch panic message to avoid github linkifying --- src/wrapper.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wrapper.rs b/src/wrapper.rs index ecf0bb6..17d7b41 100644 --- a/src/wrapper.rs +++ b/src/wrapper.rs @@ -41,11 +41,11 @@ fn mismatch(line: u32) -> ! { #[cfg(procmacro2_backtrace)] { let backtrace = std::backtrace::Backtrace::force_capture(); - panic!("compiler/fallback mismatch #{}\n\n{}", line, backtrace) + panic!("compiler/fallback mismatch L{}\n\n{}", line, backtrace) } #[cfg(not(procmacro2_backtrace))] { - panic!("compiler/fallback mismatch #{}", line) + panic!("compiler/fallback mismatch L{}", line) } }