Appendix A: Reserved Keywords and Syntax
The authoritative list of reserved keywords is in §1.4. Those keywords are rejected with a clear error message in v0.1.
The restricted scalar C interoperation rules do not unreserve unsafe or select pointer, dereference, or unsafe-block syntax. The source representation of native addresses remains a separate proposal.
Reserved syntactic constructs:
- Trailing closure call syntax (
f { x in ... }) for function-typed parameters (trailing collection blocks for@collectparameters are accepted, §5.6.2) - Record literal struct construction (
Point { x: 1, y: 2 }) - Wrapping arithmetic (
&+,&-,&*) - Labeled loop control (
break outer/continue outer); unlabeled forms are supported (§6.5) - The type-test operator
x is Tand non-numeric casts;asalso remains reserved forimportaliasing (§3.8)