Skip to content

Commit

Permalink
Rollup merge of #92920 - dtolnay:printtidy, r=cjgillot
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
matthiaskrgr authored Jan 19, 2022
2 parents 7f2dbcb + 07a0325 commit 420ada6
Show file tree
Hide file tree
Showing 3 changed files with 1,220 additions and 1,200 deletions.
Loading

0 comments on commit 420ada6

Please sign in to comment.