diff options
| author | bors <bors@rust-lang.org> | 2015-12-21 19:10:51 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-12-21 19:10:51 +0000 |
| commit | 709d00a2317002183b81df26e9b0b546483ba6f7 (patch) | |
| tree | 654942b9ad325cf51cc4ab9bf72cfc950f7baa08 /src/libsyntax/parse/mod.rs | |
| parent | 8cd034de9f523ee6b2498ae647b03660fc8f6fd0 (diff) | |
| parent | 143b9d80d06c314b8cdf5c35ea9b6661006ee6c6 (diff) | |
| download | rust-709d00a2317002183b81df26e9b0b546483ba6f7.tar.gz rust-709d00a2317002183b81df26e9b0b546483ba6f7.zip | |
Auto merge of #30460 - Ms2ger:BindingMode, r=alexcrichton
Diffstat (limited to 'src/libsyntax/parse/mod.rs')
| -rw-r--r-- | src/libsyntax/parse/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs index cff106f838a..6951d6319ac 100644 --- a/src/libsyntax/parse/mod.rs +++ b/src/libsyntax/parse/mod.rs @@ -892,7 +892,7 @@ mod tests { assert!(panictry!(parser.parse_pat()) == P(ast::Pat{ id: ast::DUMMY_NODE_ID, - node: ast::PatIdent(ast::BindByValue(ast::MutImmutable), + node: ast::PatIdent(ast::BindingMode::ByValue(ast::MutImmutable), Spanned{ span:sp(0, 1), node: str_to_ident("b") }, @@ -928,7 +928,7 @@ mod tests { pat: P(ast::Pat { id: ast::DUMMY_NODE_ID, node: ast::PatIdent( - ast::BindByValue(ast::MutImmutable), + ast::BindingMode::ByValue(ast::MutImmutable), Spanned{ span: sp(6,7), node: str_to_ident("b")}, |
