Fixed tidy errors.

This commit is contained in:
Irina Popa 2018-04-26 16:07:26 +03:00
parent 04fa0e7bb3
commit a131c518ad
16 changed files with 39 additions and 37 deletions

View File

@ -563,7 +563,9 @@ fn mk_main(cx: &mut TestCtxt) -> P<ast::Item> {
let main = ast::ItemKind::Fn(ecx.fn_decl(vec![], ast::FunctionRetTy::Ty(main_ret_ty)),
ast::Unsafety::Normal,
dummy_spanned(ast::Constness::NotConst),
::rustc_target::spec::abi::Abi::Rust, ast::Generics::default(), main_body);
::rustc_target::spec::abi::Abi::Rust,
ast::Generics::default(),
main_body);
P(ast::Item {
ident: Ident::from_str("main"),
attrs: vec![main_attr],