Skip to content

Commit 950a3ed

Browse files
committed
Fix proc-macro test after internal API change
1 parent c45871b commit 950a3ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/run-pass-fulldeps/auxiliary/procedural_mbe_matching.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ fn expand_mbe_matches(cx: &mut ExtCtxt, _: Span, args: &[TokenTree])
4646
NodeId::from_u32(0));
4747
let map = match TokenTree::parse(cx, &mbe_matcher, args.iter().cloned().collect()) {
4848
Success(map) => map,
49-
Failure(_, tok) => {
50-
panic!("expected Success, but got Failure: {}", parse_failure_msg(tok));
49+
Failure(_, tok, msg) => {
50+
panic!("expected Success, but got Failure: {} - {}", parse_failure_msg(tok), msg);
5151
}
5252
Error(_, s) => {
5353
panic!("expected Success, but got Error: {}", s);

0 commit comments

Comments
 (0)