diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2014-08-06 17:04:44 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2014-08-06 17:04:44 +0200 |
| commit | d3202354f5fe3860c429adc4bab6e6dc88ee83bc (patch) | |
| tree | 04140f380a93c58864e9d84503f7aad3ea6a2985 /src/libsyntax/ext/base.rs | |
| parent | b09a02b41588b2348fcce89c37c4a2cdc614d350 (diff) | |
| download | rust-d3202354f5fe3860c429adc4bab6e6dc88ee83bc.tar.gz rust-d3202354f5fe3860c429adc4bab6e6dc88ee83bc.zip | |
AST refactoring: merge PatWild and PatWildMulti into one variant with a flag.
Diffstat (limited to 'src/libsyntax/ext/base.rs')
| -rw-r--r-- | src/libsyntax/ext/base.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/base.rs b/src/libsyntax/ext/base.rs index d00406e07b7..01d3920a254 100644 --- a/src/libsyntax/ext/base.rs +++ b/src/libsyntax/ext/base.rs @@ -229,7 +229,7 @@ impl DummyResult { pub fn raw_pat(sp: Span) -> Gc<ast::Pat> { box(GC) ast::Pat { id: ast::DUMMY_NODE_ID, - node: ast::PatWild, + node: ast::PatWild(ast::PatWildSingle), span: sp, } } |
