fortrangoingonforty/armfortas / d1c83d7

Browse files

Allow type_complexity on lower_section_write_nd dim_data local

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
d1c83d7dcc6ed07d928ec39499b163fc86d478b2
Parents
abe82e5
Tree
15701b8

1 changed file

StatusFile+-
M src/ir/lower/core.rs 4 0
src/ir/lower/core.rsmodified
@@ -21750,6 +21750,10 @@ pub(super) fn lower_alloc_section_read(
2175021750
 /// Audit CRITICAL-3: multi-dim slice prints used to mis-dispatch
2175121751
 /// through afs_create_section on a bare stack pointer and crash
2175221752
 /// at runtime reading 384 bytes of garbage as a descriptor.
21753
+// Local intermediate `dim_data` collects per-dim values to release the
21754
+// `dims` borrow before emitting IR; a one-shot named struct here would
21755
+// just be ceremony.
21756
+#[allow(clippy::type_complexity)]
2175321757
 pub(super) fn lower_section_write_nd(
2175421758
     b: &mut FuncBuilder,
2175521759
     ctx: &mut LowerCtx,