1
Fork 0

Rollup merge of #70526 - Centril:less-attr, r=eddyb

reduce `rustc_attr` usage in places

This cleans up some unused `rustc_attr` dependencies.
This commit is contained in:
Mazdak Farrokhzad 2020-03-29 16:48:23 +02:00 committed by GitHub
commit b4491e50d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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" }