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

dyn* trait #158

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

dyn* trait #158

nikomatsakis opened this issue Apr 14, 2022 · 2 comments
Labels
lang-initiative An active lang team initiative major-change Major change proposal T-lang to-announce Not yet announced MCP proposals

Comments

@nikomatsakis
Copy link
Contributor

Proposal

Summary and problem statement

  • Introduce a new type (strawsyntax dyn* Trait) that represents "some pointer-sized type T that implements Trait"
  • Define a new notion of dyn safety (dyn* safety) that is broader for use with this type

Motivation, use-cases, and solution sketches

See this blog post:

https://smallcultfollowing.com/babysteps//blog/2022/03/29/dyn-can-we-make-dyn-sized/

Initial people involved

What happens now?

This issue is part of the lang-team initiative process. Once this issue is filed, a Zulip topic will be opened for discussion, and the lang-team will review open proposals in its weekly triage meetings. You should receive feedback within a week or two.

This issue is not meant to be used for technical discussion. There is a Zulip stream for that. Use this issue to leave procedural comments, such as volunteering to review, indicating that you second the proposal (or third, etc), or raising a concern that you would like to be addressed.

@nikomatsakis nikomatsakis added major-change Major change proposal lang-initiative An active lang team initiative T-lang labels Apr 14, 2022
@rustbot
Copy link
Collaborator

rustbot commented Apr 14, 2022

This issue is not meant to be used for technical discussion. There is a Zulip stream for that. Use this issue to leave procedural comments, such as volunteering to review, indicating that you second the proposal (or third, etc), or raising a concern that you would like to be addressed.

@rustbot rustbot added the to-announce Not yet announced MCP proposals label Apr 14, 2022
@nikomatsakis
Copy link
Contributor Author

Per the new process, this is an active experiment, with myself as the lang-team champion. Tracking issue is here rust-lang/rust#102425.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang-initiative An active lang team initiative major-change Major change proposal T-lang to-announce Not yet announced MCP proposals
Projects
None yet
Development

No branches or pull requests

2 participants