diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-03-29 16:48:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-29 16:48:23 +0200 |
| commit | b4491e50d5e1639e3ee16ca8a242cfdafa5e9854 (patch) | |
| tree | 207536cb6505c1ccec512e401f718bd5dcf74729 | |
| parent | 8212a1c7dcd4172c0cb8345f40191566abc0afb3 (diff) | |
| parent | 59a69708e190a6d39f06ee44755ede5d028c8329 (diff) | |
| download | rust-b4491e50d5e1639e3ee16ca8a242cfdafa5e9854.tar.gz rust-b4491e50d5e1639e3ee16ca8a242cfdafa5e9854.zip | |
Rollup merge of #70526 - Centril:less-attr, r=eddyb
reduce `rustc_attr` usage in places This cleans up some unused `rustc_attr` dependencies.
| -rw-r--r-- | Cargo.lock | 1 | ||||
| -rw-r--r-- | src/librustc_codegen_llvm/attributes.rs | 2 | ||||
| -rw-r--r-- | src/librustc_parse/Cargo.toml | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/Cargo.lock b/Cargo.lock index 3237b90a7c0..fdc84e53d12 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4013,7 +4013,6 @@ dependencies = [ "log", "rustc_ast", "rustc_ast_pretty", - "rustc_attr", "rustc_data_structures", "rustc_errors", "rustc_feature", diff --git a/src/librustc_codegen_llvm/attributes.rs b/src/librustc_codegen_llvm/attributes.rs index 072607fff85..a7417685c5c 100644 --- a/src/librustc_codegen_llvm/attributes.rs +++ b/src/librustc_codegen_llvm/attributes.rs @@ -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; diff --git a/src/librustc_parse/Cargo.toml b/src/librustc_parse/Cargo.toml index b02cabab0a8..a73d30e860b 100644 --- a/src/librustc_parse/Cargo.toml +++ b/src/librustc_parse/Cargo.toml @@ -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" } |
