Skip to content

Commit b289c7c

Browse files
authored
Rollup merge of rust-lang#92920 - dtolnay:printtidy, r=cjgillot
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 rust-lang#92243. This PR adds a `mod expr;` and `mod item;` to move logic related to those AST nodes out of the single huge file.
2 parents 47df44d + 94521b7 commit b289c7c

File tree

3 files changed

+1276
-1256
lines changed

3 files changed

+1276
-1256
lines changed

0 commit comments

Comments
 (0)