diff options
| author | bors <bors@rust-lang.org> | 2013-11-20 23:31:27 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-11-20 23:31:27 -0800 |
| commit | ea5d1dfb1cab80bedf372d8b24a726ed054f2417 (patch) | |
| tree | 319e66cad1f5ab71ed2514e41d9b6b9323a6afc5 /src/libsyntax/parse/parser.rs | |
| parent | f804bd94d5b43723e0f156114ab9fd7eea98fc8f (diff) | |
| parent | f4c1f49049c1d01a09599aa2b7ea4a6523045d38 (diff) | |
| download | rust-ea5d1dfb1cab80bedf372d8b24a726ed054f2417.tar.gz rust-ea5d1dfb1cab80bedf372d8b24a726ed054f2417.zip | |
auto merge of #10567 : sanxiyn/rust/bytepos, r=alexcrichton
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 6c2df4ad314..486a7a800a0 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -606,7 +606,7 @@ impl Parser { token::GT => self.bump(), token::BINOP(token::SHR) => self.replace_token( token::GT, - self.span.lo + BytePos(1u), + self.span.lo + BytePos(1), self.span.hi ), _ => self.fatal(format!("expected `{}`, found `{}`", |
