logoalt Hacker News

weinzierl • today at 12:16 PM • 2 replies • view on HN

This is remarkable but not super unusual. There are more than 100 issues labeled unsound currently. Some are long standing but from what I understand the new trait solver will unblock fixes for some of them (but probably not the one in OP).


Replies

theemathas • today at 12:48 PM

Finding unsoundness bugs isn't the most unusual, yes. But this one is unusual in how simple the code that causes it can be (see the versions of the reproducer code in the comments). For other unsoundness bugs, the code would need to contort itself a lot to avoid the compiler checks.

➕ show 1 reply
rurban • today at 1:30 PM

[flagged]

➕ show 1 reply