frontend: align source grammar and reject empty enum payload lists
This commit is contained in:
1 parent
48b9b42fed
commit
4c9c5626c9
44 files changed
+501
-33
No files matched your search
@@ -0,0 +1,5 @@
|
||||
// expect: reject E7001
|
||||
// phase: 6
|
||||
// spec: docs/spec/15-source-language.md §2, §5, §6
|
||||
module grammar.missing_arm_comma
|
||||
fn main() -> u64 effects [] { return match 1u64 { 1u64 => 42u64 _ => 0u64 }; }
|
||||
Reference in new issue
Block a user