Compiler panics when an associated constant is initialized to a const-eval associated function #6538
Labels
bug
Something isn't working
compiler: frontend
Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
compiler
General compiler. Should eventually become more specific as the issue is triaged
When an associated constant is initialized to a const-eval associated function like in the below example, compiler panics with:
Panicking is also there if it is initialized with
S::bar()
.When fixing this issue, adjust the
associated_const_in_decls_of_other_constants
test which is linked to this issue via GitHub link in the test TODO.The text was updated successfully, but these errors were encountered: