We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3071e0a commit 505f03bCopy full SHA for 505f03b
compiler/rustc_expand/src/proc_macro_server.rs
@@ -290,7 +290,7 @@ impl ToInternal<SmallVec<[tokenstream::TokenTree; 2]>>
290
b'$' => Dollar,
291
b'?' => Question,
292
b'\'' => SingleQuote,
293
- _ => unreachable!(),
+ _ => unreachable!("{ch} not expected in Punct"),
294
};
295
smallvec![if joint {
296
tokenstream::TokenTree::token_joint(kind, span)
0 commit comments