syntax: move ast_map to librustc.
This commit is contained in:
parent
7b0f2af27f
commit
76eaed44d9
45 changed files with 75 additions and 63 deletions
|
|
@ -11,6 +11,7 @@
|
|||
use rustc::session::Session;
|
||||
use rustc::session::config::{self, Input, OutputFilenames};
|
||||
use rustc::session::search_paths::PathKind;
|
||||
use rustc::ast_map;
|
||||
use rustc::lint;
|
||||
use rustc::metadata;
|
||||
use rustc::metadata::creader::CrateReader;
|
||||
|
|
@ -37,7 +38,6 @@ use std::fs;
|
|||
use std::io::{self, Write};
|
||||
use std::path::{Path, PathBuf};
|
||||
use syntax::ast;
|
||||
use syntax::ast_map;
|
||||
use syntax::attr;
|
||||
use syntax::attr::AttrMetaMethods;
|
||||
use syntax::diagnostics;
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ use rustc_trans::back::link;
|
|||
|
||||
use driver;
|
||||
|
||||
use rustc::ast_map::{self, blocks, NodePrinter};
|
||||
use rustc::middle::ty;
|
||||
use rustc::middle::cfg;
|
||||
use rustc::middle::cfg::graphviz::LabelledCFG;
|
||||
|
|
@ -30,7 +31,6 @@ use rustc_borrowck::graphviz as borrowck_dot;
|
|||
use rustc_resolve as resolve;
|
||||
|
||||
use syntax::ast;
|
||||
use syntax::ast_map::{self, blocks, NodePrinter};
|
||||
use syntax::codemap;
|
||||
use syntax::fold::{self, Folder};
|
||||
use syntax::print::{pp, pprust};
|
||||
|
|
|
|||
|
|
@ -29,8 +29,9 @@ use rustc_typeck::middle::infer::lub::Lub;
|
|||
use rustc_typeck::middle::infer::glb::Glb;
|
||||
use rustc_typeck::middle::infer::sub::Sub;
|
||||
use rustc_typeck::util::ppaux::{ty_to_string, Repr, UserString};
|
||||
use rustc::ast_map;
|
||||
use rustc::session::{self,config};
|
||||
use syntax::{abi, ast, ast_map};
|
||||
use syntax::{abi, ast};
|
||||
use syntax::codemap;
|
||||
use syntax::codemap::{Span, CodeMap, DUMMY_SP};
|
||||
use syntax::diagnostic::{Level, RenderSpan, Bug, Fatal, Error, Warning, Note, Help};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue