|
|
|
|
|
by pcwalton
1016 days ago
|
|
But it's not a fundamental design flaw in the language, nor is it a "hole in the type theory". It's a compiler bug. The compiler isn't checking function contravariance properly. Miri catches the problem, while rustc doesn't. |
|
I agree that this isn’t a “fundamental design flaw in the language”, but Miri is irrelevant to proving that.