; Resources in aggregates need the reserved feature linear_aggregates. ; expect: reject E0006 ; phase: 2 ; spec: docs/spec/06-resources-and-errors.md module test.resource_in_struct air 0 lang 0.1 features [arrays, capabilities, effects, ownership, resources] type @Log = struct { f: file } fn @f() -> void effects [] entry: ret