about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/codegen_attrs.rs
diff options
context:
space:
mode:
authorFolkert de Vries <folkert@folkertdev.nl>2025-07-02 11:12:54 +0200
committerFolkert de Vries <folkert@folkertdev.nl>2025-07-16 23:24:32 +0200
commit9c8ab891876b37aac458a7461d904fe593856745 (patch)
treec45dc07eff1a71859ab5e115649a80338c65355a /compiler/rustc_codegen_ssa/src/codegen_attrs.rs
parentec0ff720d1a89cb51edd90116c6e70051affa95f (diff)
downloadrust-9c8ab891876b37aac458a7461d904fe593856745.tar.gz
rust-9c8ab891876b37aac458a7461d904fe593856745.zip
use `codegen_instance_attrs` where an instance is (easily) available
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/codegen_attrs.rs')
-rw-r--r--compiler/rustc_codegen_ssa/src/codegen_attrs.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/codegen_attrs.rs b/compiler/rustc_codegen_ssa/src/codegen_attrs.rs
index a1dd64736fc..85d01d4f938 100644
--- a/compiler/rustc_codegen_ssa/src/codegen_attrs.rs
+++ b/compiler/rustc_codegen_ssa/src/codegen_attrs.rs
@@ -114,7 +114,6 @@ fn codegen_fn_attrs(tcx: TyCtxt<'_>, did: LocalDefId) -> CodegenFnAttrs {
                     codegen_fn_attrs.export_name = Some(*name);
                 }
                 AttributeKind::Naked(_) => codegen_fn_attrs.flags |= CodegenFnAttrFlags::NAKED,
-
                 AttributeKind::Align { align, .. } => codegen_fn_attrs.alignment = Some(*align),
                 AttributeKind::LinkName { name, .. } => codegen_fn_attrs.link_name = Some(*name),
                 AttributeKind::LinkSection { name, .. } => {