-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
"value may contain borrowed pointers" #6584
Comments
@catamorphism what situation is it generated, at least? |
Triage: it now has a suggestion on how to fix it: fn foo<T> (t: T) -> @T {
@t
}
fn main() {}
This appears to be the only explanation of this requirement, a quick skip of the manual (searching for |
Nominating, sounds like a pretty bad error message. |
@t is feature gated. Of course we will have it (or Gc), but its not huge for 1.0. Accepted for P-low. |
I don't even think this error exists anymore:
Combined with the removal of |
The error has been renamed to |
I think it still comes up with trait objects in general, especially |
Looking at the tests, there are two instances of this error. one suggests a solution, and the other seems to be specific to Gc. Still unsure what fix to suggest in that case, though. |
triage:
Does anyone know if this is still an issue? Or have an example of how to reproduce? |
It's been a month, and so I'm giving this a close. If someone can give me code to reproduce, we can re-open. |
…nks, r=llogiq Make a reference a link in doc I think it's incovenient that references in doc are just a text. changelog: none
This error message makes me sad, since it doesn't suggest any way to fix the problem. Sorry, I don't have a self-contained example right now, but I'll try to make one later.
The text was updated successfully, but these errors were encountered: