cli: validate structural source type positions before AIR
This commit is contained in:
1 parent
5f76e92ff3
commit
caf3b86e80
48 files changed
+423
-33
No files matched your search
@@ -1,5 +1,5 @@
|
||||
// Allocation and destruction each reject the borrow element at their own source construct.
|
||||
// expect: reject E1001 E1001
|
||||
// The content annotation rejects before allocation or destruction reaches AIR.
|
||||
// expect: reject E7005
|
||||
// grant: heap=mem.alloc:128
|
||||
// phase: 6
|
||||
// spec: docs/spec/03-memory-model.md §26; docs/spec/15-source-language.md §17
|
||||
|
||||
Reference in new issue
Block a user