We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1145371 commit bad1dabCopy full SHA for bad1dab
src/libsyntax/parse/parser.rs
@@ -1075,9 +1075,9 @@ impl<'a> Parser<'a> {
1075
p.parse_arg_general(false)
1076
});
1077
1078
- let hi = p.last_span.hi;
1079
match p.token {
1080
token::SEMI => {
+ let hi = p.last_span.hi;
1081
p.bump();
1082
debug!("parse_trait_methods(): parsing required method");
1083
// NB: at the moment, visibility annotations on required
@@ -1100,6 +1100,7 @@ impl<'a> Parser<'a> {
1100
debug!("parse_trait_methods(): parsing provided method");
1101
let (inner_attrs, body) =
1102
p.parse_inner_attrs_and_block();
1103
1104
let attrs = attrs.append(inner_attrs.as_slice());
1105
Provided(@ast::Method {
1106
ident: ident,
0 commit comments