Skip to content

Commit 9680209

Browse files
committed
---
yaml --- r: 228747 b: refs/heads/try c: 4f58db4 h: refs/heads/master i: 228745: 6853e5f 228743: 0b22512 v: v3
1 parent 1b7fb8c commit 9680209

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,7 +1,7 @@
11
---
22
refs/heads/master: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: 610d1e312f4d8ec13755015c69d5ae410039b06a
4+
refs/heads/try: 4f58db485d82a8d4d4f03f9584ba6de347f704a5
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/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)