; An unchecked access in a function that is neither unsafe nor trusted. ; expect: reject E6001 ; phase: 2 ; spec: docs/spec/13-contracts-and-unsafe.md module test.unsafe_outside_boundary air 0 lang 0.1 features [arrays, effects, ownership, unsafe] fn @f(%s: slice, %i: usize) -> u8 effects [] entry: %e = borrow.index.unchecked %s, %i %v = load %e borrow.end %e ret %v