Don't steal the parse query when using --pretty
This is the only place aside from the global_ctxt query where it is stolen.
This commit is contained in:
parent
992943dbae
commit
1a1b10fa63
2 changed files with 7 additions and 3 deletions
|
@ -217,7 +217,7 @@ fn write_or_print(out: &str, sess: &Session) {
|
|||
// Extra data for pretty-printing, the form of which depends on what kind of
|
||||
// pretty-printing we are doing.
|
||||
pub enum PrintExtra<'tcx> {
|
||||
AfterParsing { krate: ast::Crate },
|
||||
AfterParsing { krate: &'tcx ast::Crate },
|
||||
NeedsAstMap { tcx: TyCtxt<'tcx> },
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue