; fs.open_read is fallible and needs ok/err targets. ; expect: reject E1001 ; phase: 2 ; spec: docs/reference/intrinsics.md module test.fallible_without_targets air 0 lang 0.1 features [arrays, capabilities, effects, ownership, resources] fn @f(%c: cap, %p: slice) -> void effects [fs.read] entry: intrinsic fs.open_read(%c, %p) ret