From 0c047b14a6488c4bda405cead225b7a700647c1a Mon Sep 17 00:00:00 2001 From: zinc Date: Thu, 15 Oct 2026 15:02:33 +0330 Subject: tests: alias_scope expects the block-end message; plain_return now covers a forwarding owned return called early; direct owned return before its body is accepted --- tests/errors/alias_scope.zc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/errors/alias_scope.zc') diff --git a/tests/errors/alias_scope.zc b/tests/errors/alias_scope.zc index b52bfa8..ee56075 100644 --- a/tests/errors/alias_scope.zc +++ b/tests/errors/alias_scope.zc @@ -1,7 +1,7 @@ namespace; include rt; -// expect: q: used after it was given away +// expect: q: borrows from p, which was freed at the end of its block fn main() { let q; { let p = rt.new(2); q = p + 0; } -- cgit v1.2.3