-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
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 |
alexcrichton
added
the
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
label
Oct 6, 2014
ghost
mentioned this issue
Oct 16, 2014
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Jul 28, 2022
…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>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
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: