-
Notifications
You must be signed in to change notification settings - Fork 13.3k
[NLL] borrowed-universal-test.rs output is not great #48645
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
So, I wanted this opened because:
doesn't seem great to me. Not terrible, but not great. I'd prefer to see us tracking whether the value is returned or escapes in some other way, and pointing at the spot where the escape occurs with a nice message. Something like this maybe?
|
This was spawned from this conversation. I'm going to copy over @estebank's last comment in particular:
|
Current output:
nominating for discussion on whether this should be kept open |
Discussed in the NLL meeting:
We decided to keep it open for now but mark it P-low. |
This now produces the same error message both with and without |
The output of this test ...
is not great
cc @nikomatsakis
The text was updated successfully, but these errors were encountered: