-
Notifications
You must be signed in to change notification settings - Fork 13.3k
&[Trait] should probably not be allowed #21748
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
Comments
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. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
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: