diff options
| author | Seo Sanghyeon <sanxiyn@gmail.com> | 2015-01-18 22:49:19 +0900 |
|---|---|---|
| committer | Seo Sanghyeon <sanxiyn@gmail.com> | 2015-01-18 22:49:19 +0900 |
| commit | 3f0cc8011aef3f530663302d525bd2d8cb493db5 (patch) | |
| tree | 8cd9623a2ad1062c13a51636a9b44e0be8c2614e /src/libsyntax/parse/mod.rs | |
| parent | a833337943300db1c310a4cf9c84b7b4ef4e9468 (diff) | |
| download | rust-3f0cc8011aef3f530663302d525bd2d8cb493db5.tar.gz rust-3f0cc8011aef3f530663302d525bd2d8cb493db5.zip | |
Make output type in ast::FnDecl optional
Diffstat (limited to 'src/libsyntax/parse/mod.rs')
| -rw-r--r-- | src/libsyntax/parse/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs index f1f547ba0c7..90e236dfde3 100644 --- a/src/libsyntax/parse/mod.rs +++ b/src/libsyntax/parse/mod.rs @@ -1066,9 +1066,7 @@ mod test { }), id: ast::DUMMY_NODE_ID }), - output: ast::Return(P(ast::Ty{id: ast::DUMMY_NODE_ID, - node: ast::TyTup(vec![]), - span:sp(15,15)})), // not sure + output: ast::DefaultReturn(sp(15, 15)), variadic: false }), ast::Unsafety::Normal, |
