1
Fork 0

Move pretty-printer FixupContext to a module

Required for being able to make the fields private and force the use of
accessor methods, which will be added in the next commit.
This commit is contained in:
David Tolnay 2024-04-19 22:12:21 -07:00
parent c8d19a92aa
commit 912c67043b
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82
4 changed files with 75 additions and 74 deletions

View file

@ -3,11 +3,12 @@
//! Note that HIR pretty printing is layered on top of this crate.
mod expr;
mod fixup;
mod item;
use crate::pp::Breaks::{Consistent, Inconsistent};
use crate::pp::{self, Breaks};
use crate::pprust::state::expr::FixupContext;
use crate::pprust::state::fixup::FixupContext;
use ast::TraitBoundModifiers;
use rustc_ast::attr::AttrIdGenerator;
use rustc_ast::ptr::P;