Fix rustdoc and tests.
This commit is contained in:
parent
e02aa722aa
commit
e2ebc8f811
13 changed files with 71 additions and 103 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue