Skip to content

Borrowing #2199

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

Closed
nikomatsakis opened this issue Apr 14, 2012 · 2 comments
Closed

Borrowing #2199

nikomatsakis opened this issue Apr 14, 2012 · 2 comments
Assignees
Labels
A-lifetimes Area: Lifetimes / regions

Comments

@nikomatsakis
Copy link
Contributor

Basic borrowing is in place, but more is needed:

  • if the borrowed value lives in mutable memory, we need to increase (temporarily) the ref count of boxes (or else prohibit this mutable memory from being changed and/or prohibit the borrowing).
  • evec/estr borrowing does not type check nor trans. Not sure why the former doesn't work but the latter is just unimplemented.
@ghost ghost assigned nikomatsakis Apr 14, 2012
@boggle
Copy link
Contributor

boggle commented Apr 14, 2012

Awesome!

@nikomatsakis
Copy link
Contributor Author

This is basically done, though there are no doubt lingering bugs remaining.

celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
jieyouxu pushed a commit to jieyouxu/rust that referenced this issue Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lifetimes Area: Lifetimes / regions
Projects
None yet
Development

No branches or pull requests

2 participants