Methods that return unsized types can be (uselessly) codegened #26376
Labels
A-codegen
Area: Code generation
A-typesystem
Area: The type system
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This does generate code that calls
foo
in the vtable, but is not particularly useful.cc @nikomatsakis
The text was updated successfully, but these errors were encountered: