rust/compiler/rustc_interface/src
Aaron Hill 8c0119da77
Rollup merge of #82269 - LeSeulArtichaut:cleanup-ppmode, r=spastorino
Cleanup `PpMode` and friends

This PR:
 - Separates `PpSourceMode` and `PpHirMode` to remove invalid states
 - Renames the variant to remove the redundant `Ppm` prefix
 - Adds basic documentation for the different pretty-print modes
 - Cleanups some code to make it more idiomatic

Not sure if this is actually useful, but it looks cleaner to me.
2021-02-25 16:06:16 -05:00
..
callbacks.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
interface.rs Move try_print_query_stack to rustc_interface. 2021-02-19 17:51:55 +01:00
lib.rs Box the biggest ast::ItemKind variants 2021-02-01 09:23:39 +01:00
passes.rs Rollup merge of #82269 - LeSeulArtichaut:cleanup-ppmode, r=spastorino 2021-02-25 16:06:16 -05:00
proc_macro_decls.rs Only store a LocalDefId in hir::Item. 2021-02-15 19:32:10 +01:00
queries.rs Move the query system to rustc_query_impl. 2021-02-19 17:51:58 +01:00
tests.rs nhwn: make treat_err_as_bug Option<NonZeroUsize> 2021-02-18 05:27:20 -06:00
util.rs Move handle_deadlock where it is used. 2021-02-19 17:51:55 +01:00