Skip to content

Conversation

@Yoric
Copy link
Contributor

@Yoric Yoric commented Nov 7, 2011

At the moment, the parser can fail with one of the following error messages:

  • "if without else can not return a value";
  • "this block must not have a result".

These messages have mislead me into believing that the problems I encountered were related to ret, whereas they were actually due to missing ;. I suggest a slight rephrasing to make things less ambiguous.

@brson
Copy link
Contributor

brson commented Nov 7, 2011

Integrated. Thanks!

@brson brson closed this Nov 7, 2011
bjorn3 added a commit to bjorn3/rust that referenced this pull request Mar 29, 2021
Support cross-compiling to Windows using MinGW
coastalwhite pushed a commit to coastalwhite/rust that referenced this pull request Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants