Remove rustc_attr_data_structures re-export from rustc_attr_parsing

This commit is contained in:
mejrs
2025-05-18 18:14:43 +02:00
parent 684b7b70f4
commit 178e09ed37
48 changed files with 83 additions and 63 deletions

View File

@@ -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_fn_attrs(instance_def_id).inline
== rustc_attr_parsing::InlineAttr::Never)
== rustc_attr_data_structures::InlineAttr::Never)
{
// When not sharing generics, all instances are in the same
// crate and have hidden visibility.