Trait object implicit coercions through a match
are incorrectly codegen'd
#20419
Labels
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
Compiling with
--cfg good
(i.e. explicit casts) runs 100% fine, compiling without it (i.e. implicit coercions) segfaults/crashes. This also runs fine on 0.12 on the playpen, and withif x {
instead ofmatch
.cc @nick29581 (maybe?)
The text was updated successfully, but these errors were encountered: