mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-05 15:37:12 +00:00
Move expr- and item-related pretty printing functions to modules Currently *compiler/rustc_ast_pretty/src/pprust/state.rs* is 2976 lines on master. The `tidy` limit is 3000, which is blocking #92243. This PR adds a `mod expr;` and `mod item;` to move logic related to those AST nodes out of the single huge file.