-
Notifications
You must be signed in to change notification settings - Fork 13.3k
test case for closed bug now causes ICE #5946
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
Comments
@jbclements Is this sufficiently serious to warrant nominating? |
Still a bug. |
Oog... I should have recorded the ICE. Now I get this compilation error:
... which might be because the ICE was fixed, or might be because something about the language changed to cause an earlier breakage. Sigh. |
ICE isn't fixed. |
OK, I think your latest failure is due to language changes, and the test can be updated. I think that the test case was xfailed because it was broken, due to #4396. I think that I fixed the reason that it was originally xfailed with previous default method work (although there still generics problems with supertraits that I am working on at the moment). Dropping the |
Here is an updated version of
|
OK, got it. The ICE is occuring while trying to report a borrow check error in I am going to fix the bugs in these tests, close this issue, and open a new one with a reduced test case for the real problem. |
Fix `let_and_return` bad suggestion Add a cast to the suggestion when the return expression has adjustments. These adjustments are lost when the suggestion is applied. This is similar to the problem in issue rust-lang#4437. Closes rust-lang#5729 changelog: Fix `let_and_return` bad suggestion
The test case for issue #3979 was xfailed (and didn't parse), but that issue is closed, so I fixed up the syntax and ran it... and now it causes an ICE. I've committed the updated test, but it may be a while before that winds up in incoming, so I'll paste the text of the test here too:
The text was updated successfully, but these errors were encountered: