about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/callee.rs
diff options
context:
space:
mode:
authorJonathan Dönszelmann <jonathan@donsz.nl>2024-12-13 14:47:11 +0100
committerJonathan Dönszelmann <jonathan@donsz.nl>2024-12-16 19:08:19 +0100
commitefb98b6552abd00c58a2c1dd171b9086edf28214 (patch)
tree1a8ad8d3257b94c8a0c4bf75629851a1ae94289c /compiler/rustc_codegen_llvm/src/callee.rs
parent1341366af911a16c53513d5eda2cc8cf31c8c027 (diff)
downloadrust-efb98b6552abd00c58a2c1dd171b9086edf28214.tar.gz
rust-efb98b6552abd00c58a2c1dd171b9086edf28214.zip
rename rustc_attr to rustc_attr_parsing and create rustc_attr_data_structures
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/callee.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/callee.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/callee.rs b/compiler/rustc_codegen_llvm/src/callee.rs
index ec77f32caf4..aa9a0f34f55 100644
--- a/compiler/rustc_codegen_llvm/src/callee.rs
+++ b/compiler/rustc_codegen_llvm/src/callee.rs
@@ -106,7 +106,7 @@ pub(crate) fn get_fn<'ll, 'tcx>(cx: &CodegenCx<'ll, 'tcx>, instance: Instance<'t
                 // 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::InlineAttr::Never)
+                        == rustc_attr_parsing::InlineAttr::Never)
                 {
                     // When not sharing generics, all instances are in the same
                     // crate and have hidden visibility.