-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
&[Trait] should probably not be allowed #21748
Labels
Comments
kmcallister
added
A-typesystem
Area: The type system
A-DSTs
Area: Dynamically-sized types (DSTs)
labels
Jan 30, 2015
17 tasks
/cc @rust-lang/lang , what do you think? |
Yeah, we should require that |
Note that you now get RFC 1214 warnings (i.e., this is largely fixed). |
See e.g. http://is.gd/idE0a4 |
Ahh yes, forgot about RFC 1214. Given that that will land, I think this is fine to close. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
This compiles:
and this complains that there is no
len()
:It seems to me like both should fail to compile with an error about sticking DSTs in a slice.
The text was updated successfully, but these errors were encountered: