Skip to content

Commit

Permalink
Rollup merge of #70526 - Centril:less-attr, r=eddyb
Browse files Browse the repository at this point in the history
reduce `rustc_attr` usage in places

This cleans up some unused `rustc_attr` dependencies.
  • Loading branch information
Centril authored Mar 29, 2020
2 parents 8212a1c + 59a6970 commit b4491e5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4013,7 +4013,6 @@ dependencies = [
"log",
"rustc_ast",
"rustc_ast_pretty",
"rustc_attr",
"rustc_data_structures",
"rustc_errors",
"rustc_feature",
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_codegen_llvm/attributes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion src/librustc_parse/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down

0 comments on commit b4491e5

Please sign in to comment.