Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upMethods that return unsized types can be (uselessly) codegened #26376
Comments
steveklabnik
added
the
A-typesystem
label
Jun 23, 2015
brson
added
A-codegen
P-low
labels
Jan 12, 2017
This comment has been minimized.
This comment has been minimized.
|
Still a problem? |
This comment has been minimized.
This comment has been minimized.
|
It's still true, but I'm not especially worried about it. |
Mark-Simulacrum
added
C-enhancement
I-compiletime
labels
Jul 22, 2017
This comment has been minimized.
This comment has been minimized.
|
Isn't it a bug that you can declare such a trait at all? There's no way to implement it, right? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
arielb1 commentedJun 17, 2015
This does generate code that calls
fooin the vtable, but is not particularly useful.cc @nikomatsakis