We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
struct Foo { f: uint } fn foo() -> Foo { Foo { 123, } }
foo.rs:6:8: 6:9 error: expected `;` or `}` after expression but found `{` foo.rs:6 Foo { ^
I would expect something much more... helpful. (Yes, I'm tired and the bug is obvious, but it's still a silly error message!)