; The borrow is ended on one edge into the join but not on the other. ; expect: reject E2105 ; phase: 1 ; spec: docs/spec/08-verifier.md module test.join_mismatch air 0 lang 0.1 features [arrays, ownership] fn @f(%c: bool) -> void effects [] entry: %x = local.alloc u8 local.zero %x %r = borrow.ref %x cbr %c, @a(), @b() a: borrow.end %r br @join() b: br @join() join: trap