39 matches across 1 files for TODO path:src/tools/rust-analyzer/crates/ide-assists/src/handlers/generate_blanket_trait_impl.rs
snippet_mode: auto · sorted by relevance
src/tools/rust-analyzer/crates/ide-assists/src/handlers/generate_blanket_trait_impl.rs RUST 39 matches · showing 5 view file →
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
266fn 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
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.