Skip to content
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

Improve cross-borrowing ergonomics #368

Open
pnkfelix opened this issue Oct 8, 2014 · 2 comments
Open

Improve cross-borrowing ergonomics #368

pnkfelix opened this issue Oct 8, 2014 · 2 comments
Labels
A-borrowck Borrow checker related proposals & ideas A-coercions Proposals relating to coercions. A-references Proposals related to references A-typesystem Type system related proposals & ideas T-lang Relevant to the language team, which will review and decide on the RFC.

Comments

@pnkfelix
Copy link
Member

pnkfelix commented Oct 8, 2014

Many Rust users say that the ergonomics for borrowing / deref / reborrowing is poor, especially compared to how magically dot (a.f) will behave (with respect to how it auto-derefs and borrows a).

This issue is meant to act as a place to collect the various proposals that have been put forward to resolve this. I guess it might be thought of as a meta-issue, except that I think it will mostly be collecting references to RFC PR's, rather than other issues.

(My current plan is to try to put links to all the appropriate PR's into this description itself; people can feel free to refer back to this issue, but I'm not planning on annotating each PR with a link, especially since the list of references inserted by github can get somewhat polluted... I will also try to link to meeting minutes if I can find them.)

Proposals:

Relevant rust-lang/rust issues:

Relevant Meeting Snippets

Potentially relevant discuss links (pre-RFCs, etc):

@oblitum
Copy link

oblitum commented Dec 23, 2014

I miss consistency on this before 1.0 lands...

@petrochenkov petrochenkov added the T-lang Relevant to the language team, which will review and decide on the RFC. label Jan 19, 2018
@Centril
Copy link
Contributor

Centril commented Nov 27, 2018

@pnkfelix Do we feel that this issue has any value at this point? Should we close?

@Centril Centril added A-typesystem Type system related proposals & ideas A-borrowck Borrow checker related proposals & ideas A-references Proposals related to references A-coercions Proposals relating to coercions. labels Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-borrowck Borrow checker related proposals & ideas A-coercions Proposals relating to coercions. A-references Proposals related to references A-typesystem Type system related proposals & ideas T-lang Relevant to the language team, which will review and decide on the RFC.
Projects
None yet
Development

No branches or pull requests

4 participants