Skip to content

Commit f638ebc

Browse files
committed
remove rustc_attr_data_structures
1 parent dcd72a6 commit f638ebc

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/attributes.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
use gccjit::FnAttribute;
33
use gccjit::Function;
44
#[cfg(feature = "master")]
5-
use rustc_attr_data_structures::InlineAttr;
6-
use rustc_attr_data_structures::InstructionSetAttr;
5+
use rustc_hir::attrs::InlineAttr;
6+
use rustc_hir::attrs::InstructionSetAttr;
77
#[cfg(feature = "master")]
88
use rustc_middle::middle::codegen_fn_attrs::CodegenFnAttrFlags;
99
#[cfg(feature = "master")]

src/callee.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ pub fn get_fn<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, instance: Instance<'tcx>)
106106
// This is a monomorphization of a generic function.
107107
if !(cx.tcx.sess.opts.share_generics()
108108
|| tcx.codegen_instance_attrs(instance.def).inline
109-
== rustc_attr_data_structures::InlineAttr::Never)
109+
== rustc_hir::attrs::InlineAttr::Never)
110110
{
111111
// When not sharing generics, all instances are in the same
112112
// crate and have hidden visibility.

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ extern crate tracing;
3535
extern crate rustc_abi;
3636
extern crate rustc_apfloat;
3737
extern crate rustc_ast;
38-
extern crate rustc_attr_data_structures;
3938
extern crate rustc_codegen_ssa;
4039
extern crate rustc_data_structures;
4140
extern crate rustc_errors;

0 commit comments

Comments
 (0)