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

Tracking issue for ergonomic reference counting #132290

Open
7 tasks
traviscross opened this issue Oct 28, 2024 · 2 comments
Open
7 tasks

Tracking issue for ergonomic reference counting #132290

traviscross opened this issue Oct 28, 2024 · 2 comments
Labels
C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC F-ergonomic_clones `#![feature(ergonomic_clones)]` T-lang Relevant to the language team, which will review and decide on the PR/issue.

Comments

@traviscross
Copy link
Contributor

traviscross commented Oct 28, 2024

This is a tracking issue for ergonomic reference counting, including:

...and other work.

The feature gate for this issue is #![feature(ergonomic_clones)].

About tracking issues

Tracking issues are used to record the overall progress of implementation. They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions. A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature. Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

Steps

Unresolved Questions

  • Name of UseCloned trait which signals x.use to clone
  • Precise set of UseCloned impls -- in particular any blanket impls we ought to be concerned about?

Related

cc @spastorino @jkelleyrtp @rust-lang/lang

@traviscross traviscross added the C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC label Oct 28, 2024
@compiler-errors
Copy link
Member

compiler-errors commented Oct 28, 2024

This feature gate name (ed: use, as currently noted in RFC 3680) is waaaaaaaaaaay too vague. It literally has nothing to do with what the feature actually is doing. This should be called like... ergonomic_clones or something lol.

Also, it's literally not syntactical. Feature gates need to have valid identifiers as names.

@traviscross
Copy link
Contributor Author

Sounds good to me.

@rustbot labels +F-ergonomic_clones

@rustbot rustbot added the F-ergonomic_clones `#![feature(ergonomic_clones)]` label Oct 28, 2024
@traviscross traviscross added the T-lang Relevant to the language team, which will review and decide on the PR/issue. label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC F-ergonomic_clones `#![feature(ergonomic_clones)]` T-lang Relevant to the language team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants