Move pretty-printing 'modes' into a callback hook
This way, the pretty-printer does not have to know about middle::ty. (This is a preparation for separating the AST functionality into a separate crate.)
This commit is contained in:
@@ -25,7 +25,6 @@ import pretty::pprust::print_decl;
|
||||
import pretty::pprust::print_fn;
|
||||
import pretty::pprust::print_type;
|
||||
import pretty::ppaux::print_literal;
|
||||
import pretty::ppaux::mo_untyped;
|
||||
import pretty::pp::mk_printer;
|
||||
|
||||
type filename = str;
|
||||
|
||||
Reference in New Issue
Block a user