1
Fork 0

Fix rustdoc and tests.

This commit is contained in:
Eduard Burtescu 2014-03-17 09:55:41 +02:00
parent e02aa722aa
commit e2ebc8f811
13 changed files with 71 additions and 103 deletions

View file

@ -584,7 +584,8 @@ mod test {
}
#[test] fn parse_ident_pat () {
let mut parser = string_to_parser(&new_parse_sess(), ~"b");
let sess = new_parse_sess();
let mut parser = string_to_parser(&sess, ~"b");
assert!(parser.parse_pat() ==
@ast::Pat{id: ast::DUMMY_NODE_ID,
node: ast::PatIdent(