(t: &T)
| 34 | } |
| 35 | |
| 36 | pub fn print<T: AstDebug>(t: &T) { |
| 37 | let mut writer = AstWriter::normal(); |
| 38 | t.ast_debug(&mut writer); |
| 39 | print!("{}", writer); |
| 40 | } |
| 41 | |
| 42 | pub fn print_verbose<T: AstDebug>(t: &T) { |
| 43 | let mut writer = AstWriter::verbose(); |
no test coverage detected