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:
parent
c8d19a92aa
commit
912c67043b
4 changed files with 75 additions and 74 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue