diff options
| author | faineance <faineance@users.noreply.github.com> | 2015-11-28 19:02:07 +0000 |
|---|---|---|
| committer | faineance <faineance@users.noreply.github.com> | 2015-12-14 21:15:01 +0000 |
| commit | ec8ea22c7f59fd898670060bceb6810cef68ca0a (patch) | |
| tree | f16a49f657067f0503bee1673d087d4276bdb8d7 /src/libsyntax/test.rs | |
| parent | 9ea4b4f01f54ec741509c624a8aa62d7a47f7eac (diff) | |
| download | rust-ec8ea22c7f59fd898670060bceb6810cef68ca0a.tar.gz rust-ec8ea22c7f59fd898670060bceb6810cef68ca0a.zip | |
[breaking-change] move ast_util functions to methods
Diffstat (limited to 'src/libsyntax/test.rs')
| -rw-r--r-- | src/libsyntax/test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/test.rs b/src/libsyntax/test.rs index 6fd3833a3cd..63fbe284a09 100644 --- a/src/libsyntax/test.rs +++ b/src/libsyntax/test.rs @@ -500,7 +500,7 @@ fn mk_main(cx: &mut TestCtxt) -> P<ast::Item> { let main = ast::ItemFn(ecx.fn_decl(vec![], main_ret_ty), ast::Unsafety::Normal, ast::Constness::NotConst, - ::abi::Rust, empty_generics(), main_body); + ::abi::Rust, ast::Generics::default(), main_body); let main = P(ast::Item { ident: token::str_to_ident("main"), attrs: vec![main_attr], |
