This commit is contained in:
Intege-rs
2024-12-24 09:31:45 -05:00
parent e8ffb6739a
commit 9f8b1bdfc2

View File

@@ -11,7 +11,7 @@ pub fn proc_pattern(input: TokenStream) -> TokenStream {
let string = match &input[..] {
[TokenTree::Literal(lit)] => parse_str_literal(&lit),
_ => panic!("expected a single string literal to parse"),
_e => panic!("expected a single string literal to parse, got: {_e:?}"),
};
let pattern = match parse(&string) {