Skip to content

Commit b4491e5

Browse files
authored
Rollup merge of #70526 - Centril:less-attr, r=eddyb
reduce `rustc_attr` usage in places This cleans up some unused `rustc_attr` dependencies.
2 parents 8212a1c + 59a6970 commit b4491e5

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

Cargo.lock

-1
Original file line numberDiff line numberDiff line change
@@ -4013,7 +4013,6 @@ dependencies = [
40134013
"log",
40144014
"rustc_ast",
40154015
"rustc_ast_pretty",
4016-
"rustc_attr",
40174016
"rustc_data_structures",
40184017
"rustc_errors",
40194018
"rustc_feature",

src/librustc_codegen_llvm/attributes.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use crate::attributes;
2121
use crate::llvm::AttributePlace::Function;
2222
use crate::llvm::{self, Attribute};
2323
use crate::llvm_util;
24-
pub use rustc_attr::{self as attr, InlineAttr, OptimizeAttr};
24+
pub use rustc_attr::{InlineAttr, OptimizeAttr};
2525

2626
use crate::context::CodegenCx;
2727
use crate::value::Value;

src/librustc_parse/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ doctest = false
1313
bitflags = "1.0"
1414
log = "0.4"
1515
rustc_ast_pretty = { path = "../librustc_ast_pretty" }
16-
rustc_attr = { path = "../librustc_attr" }
1716
rustc_data_structures = { path = "../librustc_data_structures" }
1817
rustc_feature = { path = "../librustc_feature" }
1918
rustc_lexer = { path = "../librustc_lexer" }

0 commit comments

Comments
 (0)