1
Fork 0

[breaking-change] don't glob import ast::FunctionRetTy variants

This commit is contained in:
Oliver Schneider 2016-02-08 15:04:11 +01:00
parent 05e25de4f0
commit 3b57d40fe5
10 changed files with 40 additions and 41 deletions

View file

@ -941,7 +941,7 @@ impl<'a> AstBuilder for ExtCtxt<'a> {
fn fn_decl(&self, inputs: Vec<ast::Arg>, output: P<ast::Ty>) -> P<ast::FnDecl> {
P(ast::FnDecl {
inputs: inputs,
output: ast::Return(output),
output: ast::FunctionRetTy::Ty(output),
variadic: false
})
}