; cap belongs to the feature capabilities, which is not declared. ; expect: reject E0006 ; phase: 2 ; spec: docs/spec/05-effects-and-capabilities.md module test.cap_without_feature air 0 lang 0.1 features [effects] fn @f(%c: cap) -> void effects [] entry: ret