Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 505f03b

Browse files
committedAug 14, 2023
Oh "fun", an ICE that doesn't happen locally
1 parent 3071e0a commit 505f03b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎compiler/rustc_expand/src/proc_macro_server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ impl ToInternal<SmallVec<[tokenstream::TokenTree; 2]>>
290290
b'$' => Dollar,
291291
b'?' => Question,
292292
b'\'' => SingleQuote,
293-
_ => unreachable!(),
293+
_ => unreachable!("{ch} not expected in Punct"),
294294
};
295295
smallvec![if joint {
296296
tokenstream::TokenTree::token_joint(kind, span)

0 commit comments

Comments
 (0)
Please sign in to comment.