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

Ability to pass ownership of unsized types #990

Open
nikomatsakis opened this issue Mar 19, 2015 · 1 comment
Open

Ability to pass ownership of unsized types #990

nikomatsakis opened this issue Mar 19, 2015 · 1 comment
Labels
T-lang Relevant to the language team, which will review and decide on the RFC.

Comments

@nikomatsakis
Copy link
Contributor

Currently you can't use unsized types as parameters or return values. There are good reasons to support this, including passing closures to fns and being able to write things like Rc::new(*slice) where slice has type Box<[T]> or what have you.

Postponed RFCs:

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

Centril commented Oct 7, 2018

cc #1909 and rust-lang/rust#48055

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-lang Relevant to the language team, which will review and decide on the RFC.
Projects
None yet
Development

No branches or pull requests

3 participants