Update error message for missing body after if/for/etc #2289.

This commit is contained in:
Christoffer Lerno
2025-08-27 12:37:01 +02:00
parent d2cae909e1
commit 28b9be64ee
3 changed files with 26 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
fn void main()
{
if (true) // #error: The body of an if statement
}