Skip to content

Commit 7d6b9f9

Browse files
committed
---
yaml --- r: 56174 b: refs/heads/auto c: 1083ae6 h: refs/heads/master v: v3
1 parent 609cf22 commit 7d6b9f9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 313a5ab94622532c4de316ed6d82b0788be31266
17+
refs/heads/auto: 1083ae6b06939292c104f2a71fb2ebfaf9a2c70e
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1919
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c

branches/auto/src/libsyntax/parse/parser.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,8 @@ pub impl Parser {
698698
let path = self.parse_path_with_tps(false);
699699
ty_path(path, self.get_id())
700700
} else {
701-
self.fatal(~"expected type");
701+
self.fatal(fmt!("expected type, found token %?",
702+
*self.token));
702703
};
703704

704705
let sp = mk_sp(lo, self.last_span.hi);

0 commit comments

Comments
 (0)