about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJana Dönszelmann <jana@donsz.nl>2025-07-31 11:00:40 +0200
committerJana Dönszelmann <jana@donsz.nl>2025-07-31 14:19:27 +0200
commitf638ebcfcea887eff5f3f05b1b2a455176a3d49c (patch)
tree4c427a9bd329cecd9d4674d1d6e458fe76c55526
parentdcd72a62aba119531fe7b57e50854b7daf842046 (diff)
downloadrust-f638ebcfcea887eff5f3f05b1b2a455176a3d49c.tar.gz
rust-f638ebcfcea887eff5f3f05b1b2a455176a3d49c.zip
remove rustc_attr_data_structures
-rw-r--r--src/attributes.rs4
-rw-r--r--src/callee.rs2
-rw-r--r--src/lib.rs1
3 files changed, 3 insertions, 4 deletions
diff --git a/src/attributes.rs b/src/attributes.rs
index 7a1ae6ca9c8..04b43bb8bb7 100644
--- a/src/attributes.rs
+++ b/src/attributes.rs
@@ -2,8 +2,8 @@
 use gccjit::FnAttribute;
 use gccjit::Function;
 #[cfg(feature = "master")]
-use rustc_attr_data_structures::InlineAttr;
-use rustc_attr_data_structures::InstructionSetAttr;
+use rustc_hir::attrs::InlineAttr;
+use rustc_hir::attrs::InstructionSetAttr;
 #[cfg(feature = "master")]
 use rustc_middle::middle::codegen_fn_attrs::CodegenFnAttrFlags;
 #[cfg(feature = "master")]
diff --git a/src/callee.rs b/src/callee.rs
index e7ca95af594..8487a85bd03 100644
--- a/src/callee.rs
+++ b/src/callee.rs
@@ -106,7 +106,7 @@ pub fn get_fn<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, instance: Instance<'tcx>)
                 // This is a monomorphization of a generic function.
                 if !(cx.tcx.sess.opts.share_generics()
                     || tcx.codegen_instance_attrs(instance.def).inline
-                        == rustc_attr_data_structures::InlineAttr::Never)
+                        == rustc_hir::attrs::InlineAttr::Never)
                 {
                     // When not sharing generics, all instances are in the same
                     // crate and have hidden visibility.
diff --git a/src/lib.rs b/src/lib.rs
index a3120682500..613315f77a6 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -35,7 +35,6 @@ extern crate tracing;
 extern crate rustc_abi;
 extern crate rustc_apfloat;
 extern crate rustc_ast;
-extern crate rustc_attr_data_structures;
 extern crate rustc_codegen_ssa;
 extern crate rustc_data_structures;
 extern crate rustc_errors;