syntax::print -> new crate rustc_ast_pretty

This commit is contained in:
Mazdak Farrokhzad
2020-01-11 17:02:46 +01:00
parent 98fd6a5c88
commit e233331a51
62 changed files with 129 additions and 81 deletions

View File

@@ -44,6 +44,7 @@ use std::sync::Arc;
use rustc::middle::privacy::AccessLevels;
use rustc::middle::stability;
use rustc_ast_pretty::pprust;
use rustc_data_structures::flock;
use rustc_data_structures::fx::{FxHashMap, FxHashSet};
use rustc_feature::UnstableFeatures;
@@ -57,7 +58,6 @@ use rustc_span::symbol::{sym, Symbol};
use serde::ser::SerializeSeq;
use serde::{Serialize, Serializer};
use syntax::ast;
use syntax::print::pprust;
use crate::clean::{self, AttributesExt, Deprecation, GetDefId, SelfTy};
use crate::config::RenderOptions;