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:
commit
b4491e50d5
3 changed files with 1 additions and 3 deletions
|
@ -4013,7 +4013,6 @@ dependencies = [
|
||||||
"log",
|
"log",
|
||||||
"rustc_ast",
|
"rustc_ast",
|
||||||
"rustc_ast_pretty",
|
"rustc_ast_pretty",
|
||||||
"rustc_attr",
|
|
||||||
"rustc_data_structures",
|
"rustc_data_structures",
|
||||||
"rustc_errors",
|
"rustc_errors",
|
||||||
"rustc_feature",
|
"rustc_feature",
|
||||||
|
|
|
@ -21,7 +21,7 @@ use crate::attributes;
|
||||||
use crate::llvm::AttributePlace::Function;
|
use crate::llvm::AttributePlace::Function;
|
||||||
use crate::llvm::{self, Attribute};
|
use crate::llvm::{self, Attribute};
|
||||||
use crate::llvm_util;
|
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::context::CodegenCx;
|
||||||
use crate::value::Value;
|
use crate::value::Value;
|
||||||
|
|
|
@ -13,7 +13,6 @@ doctest = false
|
||||||
bitflags = "1.0"
|
bitflags = "1.0"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
rustc_ast_pretty = { path = "../librustc_ast_pretty" }
|
rustc_ast_pretty = { path = "../librustc_ast_pretty" }
|
||||||
rustc_attr = { path = "../librustc_attr" }
|
|
||||||
rustc_data_structures = { path = "../librustc_data_structures" }
|
rustc_data_structures = { path = "../librustc_data_structures" }
|
||||||
rustc_feature = { path = "../librustc_feature" }
|
rustc_feature = { path = "../librustc_feature" }
|
||||||
rustc_lexer = { path = "../librustc_lexer" }
|
rustc_lexer = { path = "../librustc_lexer" }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue