53// {
54// fn foo(&self) -> T {
55▶// todo!()
56// }
57// }
· · ·
112 let item = match item {
113 ast::AssocItem::Fn(method) if method.body().is_none() => {
114▶ todo_fn(make, &method, ctx.config).into()
115 }
116 ast::AssocItem::Const(_) | ast::AssocItem::TypeAlias(_) => item,
· · ·
264}
265
266▶fn todo_fn(make: &SyntaxFactory, f: &ast::Fn, config: &AssistConfig) -> ast::Fn {
267 let params = f.param_list().unwrap_or_else(|| make.param_list(None, None));
268 make.fn_(
· · ·
325{
326 fn foo(&self) -> T {
327▶ todo!()
328 }
329}
· · ·
368impl<I: Iterator> Foo for $0I {
369 fn foo(self) -> Self::Item {
370▶ todo!()
371 }
372}
+ 34 more matches in this file