[breaking-change] don't glob import ast::FunctionRetTy variants
This commit is contained in:
parent
05e25de4f0
commit
3b57d40fe5
10 changed files with 40 additions and 41 deletions
|
@ -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
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue