Skip to content

Commit b19cff3

Browse files
committed
---
yaml --- r: 221558 b: refs/heads/snap-stage3 c: 4f58db4 h: refs/heads/master v: v3
1 parent 7191202 commit b19cff3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 607f74df2ad6b6fb32ce5b862a9e48a8c4afdad2
3-
refs/heads/snap-stage3: 610d1e312f4d8ec13755015c69d5ae410039b06a
3+
refs/heads/snap-stage3: 4f58db485d82a8d4d4f03f9584ba6de347f704a5
44
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/snap-stage3/src/libsyntax/ext/tt/macro_rules.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ fn check_lhs_nt_follows(cx: &mut ExtCtxt, lhs: &NamedMatch, sp: Span) {
302302
tt @ &TtSequence(..) => {
303303
check_matcher(cx, Some(tt).into_iter(), &Eof);
304304
},
305-
_ => cx.span_bug(sp, "wrong-structured lhs for follow check (didn't find \
306-
a TtDelimited or TtSequence)")
305+
_ => cx.span_err(sp, "Invalid macro matcher; matchers must be contained \
306+
in balanced delimiters or a repetition indicator")
307307
},
308308
_ => cx.span_bug(sp, "wrong-structured lhs for follow check (didn't find a \
309309
MatchedNonterminal)")

0 commit comments

Comments
 (0)