We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ExtCtxt::fn_decl()
1 parent ed76b77 commit 643c508Copy full SHA for 643c508
compiler/rustc_expand/src/build.rs
@@ -514,7 +514,7 @@ impl<'a> ExtCtxt<'a> {
514
}
515
516
517
- // FIXME: unused `self`
+ // `self` is unused but keep it as method for the convenience use.
518
pub fn fn_decl(&self, inputs: Vec<ast::Param>, output: ast::FnRetTy) -> P<ast::FnDecl> {
519
P(ast::FnDecl { inputs, output })
520
0 commit comments