(&mut self, f: F, annot: &Annot)
| 105 | } |
| 106 | |
| 107 | pub fn annotate<F: FnOnce(&mut AstWriter), Annot: AstDebug>(&mut self, f: F, annot: &Annot) { |
| 108 | self.annotate_gen(f, annot, |w, annot| annot.ast_debug(w)) |
| 109 | } |
| 110 | |
| 111 | pub fn annotate_gen< |
| 112 | F: FnOnce(&mut AstWriter), |
no test coverage detected