We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-> !
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
! unifies with any type, so these are both valid:
!
fn foo() { loop { } } fn bar() -> uint { loop { } }
Both would be clearer if written as -> !. (But skip this check when implementing trait methods, because their types are externally imposed.)
The text was updated successfully, but these errors were encountered:
I'm gonna go ahead and close this in favour of #12836.
Sorry, something went wrong.
No branches or pull requests
!
unifies with any type, so these are both valid:Both would be clearer if written as
-> !
. (But skip this check when implementing trait methods, because their types are externally imposed.)The text was updated successfully, but these errors were encountered: