spec: spell the AIR array type array<T, N>
';' starts a comment in text AIR, so [T; N] cannot be parsed. Recorded as an erratum in RFC 0005; source syntax may keep [T; N].
This commit is contained in:
7 files changed
+20
-19
No files matched your search
@@ -12,7 +12,7 @@ Non-normative. Part of the [implementation plan](README.md).
|
||||
|
||||
## Scope
|
||||
|
||||
In: `local<T>`, `ref<T>`, `mut<T>`, `[T; N]`, `slice<T>`, `slice_mut<T>`; `local.alloc/store/zero/load`, `borrow.ref/mut/field/end`, `load`, `store`, `array.splat`, `borrow.index[.proven]`, `slice.make/len/sub/split/copy`, `guard`; `from` returns; multi-result syntax; feature gating (`feature_not_declared`).
|
||||
In: `local<T>`, `ref<T>`, `mut<T>`, `array<T, N>`, `slice<T>`, `slice_mut<T>`; `local.alloc/store/zero/load`, `borrow.ref/mut/field/end`, `load`, `store`, `array.splat`, `borrow.index[.proven]`, `slice.make/len/sub/split/copy`, `guard`; `from` returns; multi-result syntax; feature gating (`feature_not_declared`).
|
||||
|
||||
Out: heap, regions, move-only values, borrow-typed block parameters (`borrow_joins`).
|
||||
|
||||
|
||||
Reference in new issue
Block a user