; guard is function-bound; as a parameter it belongs to the reserved feature guard_transfer. ; expect: reject E0006 ; phase: 3 ; spec: docs/spec/04-concurrency-and-atomics.md module test.sync_guard_parameter air 0 lang 0.1 features [cancellation, effects, ownership, sync, tasks] fn @f(%g: guard) -> void effects [] entry: mutex.unlock %g ret