First, both `AstPrinterSupport` and `HirPrinterSupport` have a `sess` method. This commit introduces a `Sess` trait and makes the support traits be subtraits of `Sess`, to avoid some duplication. Second, both support traits have a `pp_ann` method that isn't needed if we enable `trait_upcasting`. This commit removes those methods. (Both of these traits will be removed in a subsequent commit, as will the `trait_upcasting` use.) |
||
|---|---|---|
| .. | ||
| args.rs | ||
| lib.rs | ||
| pretty.rs | ||
| print.rs | ||
| session_diagnostics.rs | ||
| signal_handler.rs | ||