remove forward pointer for attrs

This commit is contained in:
Aleksey Kladov 2019-10-30 18:06:08 +03:00
parent c1ed9ccc4e
commit e34e71c62d
4 changed files with 2 additions and 6 deletions

View file

@ -1 +0,0 @@
pub use hir_def::attr::*;

View file

@ -3,7 +3,7 @@
use rustc_hash::FxHashMap;
use std::sync::Arc;
use hir_def::type_ref::TypeRef;
use hir_def::{attr::Attr, type_ref::TypeRef};
use ra_arena::{impl_arena_id, map::ArenaMap, Arena, RawId};
use ra_cfg::CfgOptions;
use ra_syntax::{
@ -12,7 +12,6 @@ use ra_syntax::{
};
use crate::{
attr::Attr,
code_model::{Module, ModuleSource},
db::{AstDatabase, DefDatabase, HirDatabase},
generics::HasGenericParams,

View file

@ -39,7 +39,6 @@ mod adt;
mod traits;
mod type_alias;
mod ty;
mod attr;
mod impl_block;
mod expr;
mod lang_item;

View file

@ -1,6 +1,6 @@
//! FIXME: write short doc here
use hir_def::{name, nameres::raw};
use hir_def::{attr::Attr, name, nameres::raw};
use ra_cfg::CfgOptions;
use ra_db::FileId;
use ra_syntax::{ast, SmolStr};
@ -8,7 +8,6 @@ use rustc_hash::FxHashMap;
use test_utils::tested_by;
use crate::{
attr::Attr,
db::DefDatabase,
ids::{AstItemDef, LocationCtx, MacroCallId, MacroCallLoc, MacroDefId, MacroFileKind},
nameres::{