Skip to content

Commit 7488238

Browse files
committed
---
yaml --- r: 42970 b: refs/heads/try c: 61827a7 h: refs/heads/master v: v3
1 parent 0936581 commit 7488238

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 19dfec2aaf746535de1521f68421f9980dbf25de
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2f46b763da2c098913884f101b6d71d69af41b49
5-
refs/heads/try: b4138c1151a55b8883f09712a35bb8117387e8d1
5+
refs/heads/try: 61827a70205c0be48badf09eced0e0d5dc6a4e02
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278

branches/try/src/libsyntax/ext/tt/transcribe.rs

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -201,23 +201,24 @@ pub fn tt_next_token(r: &tt_reader_) -> TokenAndSpan {
201201
}
202202
tt_seq(sp, ref tts, ref sep, zerok) => {
203203
match lockstep_iter_size(tt_seq(sp, (*tts), (*sep), zerok), r) {
204-
lis_unconstrained => {
205-
r.sp_diag.span_fatal(
206-
sp, /* blame macro writer */
207-
~"attempted to repeat an expression containing no syntax \
208-
variables matched as repeating at this depth");
204+
lis_unconstrained => {
205+
r.sp_diag.span_fatal(
206+
sp, /* blame macro writer */
207+
~"attempted to repeat an expression \
208+
containing no syntax \
209+
variables matched as repeating at this depth");
209210
}
210211
lis_contradiction(ref msg) => {
211212
/* FIXME #2887 blame macro invoker instead*/
212213
r.sp_diag.span_fatal(sp, (*msg));
213214
}
214215
lis_constraint(len, _) => {
215-
if len == 0 {
216-
if !zerok {
217-
r.sp_diag.span_fatal(sp, /* FIXME #2887 blame invoker
218-
*/
219-
~"this must repeat at least \
220-
once");
216+
if len == 0 {
217+
if !zerok {
218+
r.sp_diag.span_fatal(sp, /* FIXME #2887 blame invoker
219+
*/
220+
~"this must repeat at least \
221+
once");
221222
}
222223

223224
r.cur.idx += 1u;

0 commit comments

Comments
 (0)