about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-11-20 23:31:27 -0800
committerbors <bors@rust-lang.org>2013-11-20 23:31:27 -0800
commitea5d1dfb1cab80bedf372d8b24a726ed054f2417 (patch)
tree319e66cad1f5ab71ed2514e41d9b6b9323a6afc5 /src/libsyntax/parse/parser.rs
parentf804bd94d5b43723e0f156114ab9fd7eea98fc8f (diff)
parentf4c1f49049c1d01a09599aa2b7ea4a6523045d38 (diff)
downloadrust-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.rs2
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 `{}`",