ICE with sibling methods containing same-name-enum containing same-name-member #7770
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
If you have two methods in an impl block, each containing an enum (with the same name), each containing at least one value with the same name, rustc gives the same LLVM symbol for the two of them and fails, as it does not include the method name in the symbol name.
Minimal test case:
The text was updated successfully, but these errors were encountered: