Move MapInPlace
to rustc_data_structures
This commit is contained in:
parent
cff9a758ae
commit
58ad251ea8
@ -33,7 +33,6 @@ pub mod util {
|
||||
pub mod comments;
|
||||
pub mod lev_distance;
|
||||
pub mod literal;
|
||||
pub mod map_in_place;
|
||||
pub mod parser;
|
||||
}
|
||||
|
||||
|
@ -11,8 +11,8 @@
|
||||
use crate::ptr::P;
|
||||
use crate::token::{self, Token};
|
||||
use crate::tokenstream::*;
|
||||
use crate::util::map_in_place::MapInPlace;
|
||||
|
||||
use rustc_data_structures::map_in_place::MapInPlace;
|
||||
use rustc_data_structures::sync::Lrc;
|
||||
use rustc_span::source_map::{respan, Spanned};
|
||||
use rustc_span::Span;
|
||||
|
@ -184,8 +184,8 @@
|
||||
use rustc_ast::ast::{self, BinOpKind, EnumDef, Expr, Generics, Ident, PatKind};
|
||||
use rustc_ast::ast::{GenericArg, GenericParamKind, VariantData};
|
||||
use rustc_ast::ptr::P;
|
||||
use rustc_ast::util::map_in_place::MapInPlace;
|
||||
use rustc_attr as attr;
|
||||
use rustc_data_structures::map_in_place::MapInPlace;
|
||||
use rustc_expand::base::{Annotatable, ExtCtxt};
|
||||
use rustc_session::parse::ParseSess;
|
||||
use rustc_span::source_map::respan;
|
||||
|
@ -67,6 +67,7 @@ macro_rules! unlikely {
|
||||
pub mod graph;
|
||||
pub mod jobserver;
|
||||
pub mod macros;
|
||||
pub mod map_in_place;
|
||||
pub mod obligation_forest;
|
||||
pub mod owning_ref;
|
||||
pub mod ptr_key;
|
||||
|
@ -1,5 +1,3 @@
|
||||
// FIXME(Centril): Move to rustc_data_structures.
|
||||
|
||||
use smallvec::{Array, SmallVec};
|
||||
use std::ptr;
|
||||
|
@ -4,9 +4,9 @@
|
||||
use rustc_ast::attr::HasAttrs;
|
||||
use rustc_ast::mut_visit::*;
|
||||
use rustc_ast::ptr::P;
|
||||
use rustc_ast::util::map_in_place::MapInPlace;
|
||||
use rustc_attr as attr;
|
||||
use rustc_data_structures::fx::FxHashMap;
|
||||
use rustc_data_structures::map_in_place::MapInPlace;
|
||||
use rustc_errors::{error_code, struct_span_err, Applicability, Handler};
|
||||
use rustc_feature::{Feature, Features, State as FeatureState};
|
||||
use rustc_feature::{
|
||||
|
@ -13,10 +13,10 @@
|
||||
use rustc_ast::ptr::P;
|
||||
use rustc_ast::token;
|
||||
use rustc_ast::tokenstream::TokenStream;
|
||||
use rustc_ast::util::map_in_place::MapInPlace;
|
||||
use rustc_ast::visit::{self, AssocCtxt, Visitor};
|
||||
use rustc_ast_pretty::pprust;
|
||||
use rustc_attr::{self as attr, is_builtin_attr, HasAttrs};
|
||||
use rustc_data_structures::map_in_place::MapInPlace;
|
||||
use rustc_errors::{Applicability, PResult};
|
||||
use rustc_feature::Features;
|
||||
use rustc_parse::parser::Parser;
|
||||
|
Loading…
Reference in New Issue
Block a user