058 reject issue on input

✓ Passing Passing: the compiler rejects this program as expected.

Code

input.kz

Actual compiler output

error[KORU033]: Cannot issue obligation '<connected!>' on input parameter (event: use-connection). Use '<!connected>' to consume an existing obligation, or remove the '!' suffix.
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_058_reject_issue_on_input/input.kz:2:1

Must contain:

Cannot issue obligation

Test Configuration

MUST_ERROR