mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 14:03:35 +00:00
remove forward pointer for attrs
This commit is contained in:
parent
c1ed9ccc4e
commit
e34e71c62d
4 changed files with 2 additions and 6 deletions
|
@ -1 +0,0 @@
|
|||
pub use hir_def::attr::*;
|
|
@ -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,
|
||||
|
|
|
@ -39,7 +39,6 @@ mod adt;
|
|||
mod traits;
|
||||
mod type_alias;
|
||||
mod ty;
|
||||
mod attr;
|
||||
mod impl_block;
|
||||
mod expr;
|
||||
mod lang_item;
|
||||
|
|
|
@ -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::{
|
||||
|
|
Loading…
Reference in a new issue