mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 05:51:58 +00:00
reduce rustc_attr usage in places
This commit is contained in:
parent
150322f86d
commit
59a69708e1
@ -4013,7 +4013,6 @@ dependencies = [
|
||||
"log",
|
||||
"rustc_ast",
|
||||
"rustc_ast_pretty",
|
||||
"rustc_attr",
|
||||
"rustc_data_structures",
|
||||
"rustc_errors",
|
||||
"rustc_feature",
|
||||
|
@ -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;
|
||||
|
@ -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" }
|
||||
|
Loading…
Reference in New Issue
Block a user