reduce rustc_attr usage in places

This commit is contained in:
Mazdak Farrokhzad 2020-03-29 12:01:11 +02:00
parent 150322f86d
commit 59a69708e1
3 changed files with 1 additions and 3 deletions

View File

@ -4013,7 +4013,6 @@ dependencies = [
"log",
"rustc_ast",
"rustc_ast_pretty",
"rustc_attr",
"rustc_data_structures",
"rustc_errors",
"rustc_feature",

View File

@ -21,7 +21,7 @@ use crate::attributes;
use crate::llvm::AttributePlace::Function;
use crate::llvm::{self, Attribute};
use crate::llvm_util;
pub use rustc_attr::{self as attr, InlineAttr, OptimizeAttr};
pub use rustc_attr::{InlineAttr, OptimizeAttr};
use crate::context::CodegenCx;
use crate::value::Value;

View File

@ -13,7 +13,6 @@ doctest = false
bitflags = "1.0"
log = "0.4"
rustc_ast_pretty = { path = "../librustc_ast_pretty" }
rustc_attr = { path = "../librustc_attr" }
rustc_data_structures = { path = "../librustc_data_structures" }
rustc_feature = { path = "../librustc_feature" }
rustc_lexer = { path = "../librustc_lexer" }