ast: use more direct imports
This commit is contained in:
parent
c189565edc
commit
55f3c2d59a
1 changed files with 8 additions and 9 deletions
|
@ -2,30 +2,29 @@
|
||||||
|
|
||||||
pub use GenericArgs::*;
|
pub use GenericArgs::*;
|
||||||
pub use UnsafeSource::*;
|
pub use UnsafeSource::*;
|
||||||
pub use crate::symbol::{Ident, Symbol as Name};
|
|
||||||
pub use crate::util::parser::ExprPrecedence;
|
pub use crate::util::parser::ExprPrecedence;
|
||||||
|
|
||||||
use crate::ext::hygiene::ExpnId;
|
|
||||||
use crate::parse::token::{self, DelimToken};
|
use crate::parse::token::{self, DelimToken};
|
||||||
use crate::ptr::P;
|
use crate::ptr::P;
|
||||||
use crate::source_map::{dummy_spanned, respan, Spanned};
|
use crate::source_map::{dummy_spanned, respan, Spanned};
|
||||||
use crate::symbol::{kw, sym, Symbol};
|
|
||||||
use crate::tokenstream::TokenStream;
|
use crate::tokenstream::TokenStream;
|
||||||
use crate::ThinVec;
|
|
||||||
|
use rustc_target::spec::abi::Abi;
|
||||||
|
pub use rustc_target::abi::FloatTy;
|
||||||
|
|
||||||
|
use syntax_pos::{Span, DUMMY_SP, ExpnId};
|
||||||
|
use syntax_pos::symbol::{kw, sym, Symbol};
|
||||||
|
pub use syntax_pos::symbol::{Ident, Symbol as Name};
|
||||||
|
|
||||||
use rustc_index::vec::Idx;
|
use rustc_index::vec::Idx;
|
||||||
#[cfg(target_arch = "x86_64")]
|
#[cfg(target_arch = "x86_64")]
|
||||||
use rustc_data_structures::static_assert_size;
|
use rustc_data_structures::static_assert_size;
|
||||||
use rustc_target::spec::abi::Abi;
|
|
||||||
use syntax_pos::{Span, DUMMY_SP};
|
|
||||||
|
|
||||||
use rustc_data_structures::fx::FxHashSet;
|
use rustc_data_structures::fx::FxHashSet;
|
||||||
use rustc_data_structures::sync::Lrc;
|
use rustc_data_structures::sync::Lrc;
|
||||||
|
use rustc_data_structures::thin_vec::ThinVec;
|
||||||
use rustc_serialize::{self, Decoder, Encoder};
|
use rustc_serialize::{self, Decoder, Encoder};
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
||||||
pub use rustc_target::abi::FloatTy;
|
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests;
|
mod tests;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue