Sema: validate that runtime-known inferred alloc does not have comptime-only type

Resolves: #18997
7461309b73mlugg committed on 2/19/2024, 9:48:50 PMparent80f3ef6
2 files changedLine totals unavailable