mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
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:
@@ -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::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" }
|
||||
|
||||
Reference in New Issue
Block a user