ICE using enum variant constructor in borrowed vector initializer #10228
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
The number of restrictions on this testcase are pretty bizarre:
This is as reduced as I could make it. There needs to be two borrowed vectors, and one of them needs to contain ~str elements (u8 didn't work). The other needs to contain an enum variant with a constructor that's called in the initializer. The end result is an LLVM assertion for the call:
The text was updated successfully, but these errors were encountered: