-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
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
Odd "mismatched types" error message #9249
Comments
Closing as working as intended The right hand side has type |
The error message could use some improvement. |
The given test case now compiles. Can this be closed, or is there some other case where coercion doesn’t occur? |
Flagging as needstest |
…lip1995 Use `action/checkout@v3` in the book As this type of document is often copied/pasted, using a newer version of `actions/checkout` would be better. changelog: none Signed-off-by: Yuki Okushi <jtitor@2k36.org>
The error message seems to confuse lifetime with size:
Also note the extra space after
&'static
.The text was updated successfully, but these errors were encountered: