Rust programming giving signal 4 (Illegal instruction) while modifying value inside a match statement #19367
Labels
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
I'm getting "An unknown error occurred" when trying to use a value that I got out of a match statement - when I set the thing being matched upon to None.
Here's the code to reproduce this:
The output when running via cargo:
The output when running via gdb:
Here's a rust playpen share with the code in it: http://is.gd/GCa24t
This occurs when using the above code in the playpen, though here are my system details in case it matters:
The text was updated successfully, but these errors were encountered: