rust/compiler/rustc_driver_impl/src
Nicholas Nethercote e3d8bbbfe2 Simplify support traits.
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.)
2023-10-13 06:20:11 +11:00
..
args.rs Provide more context for rustc +nightly -Zunstable-options on stable 2023-06-27 23:23:33 +08:00
lib.rs Simplify support traits. 2023-10-13 06:20:11 +11:00
pretty.rs Simplify support traits. 2023-10-13 06:20:11 +11:00
print.rs Fix ICE on --print=... i/o errors 2023-04-25 08:17:18 -07:00
session_diagnostics.rs rustc_driver: avoid fallible conversions 2023-10-06 08:54:14 -04:00
signal_handler.rs Clarify arbitrary constants 2023-07-19 00:22:04 -07:00