<oembed><type>rich</type><version>1.0</version><title>Magical Cat wrote</title><author_name>Magical Cat (npub19n…77fx8)</author_name><author_url>https://yabu.me/npub19n4htjp8zkpg2hk8n4tv87gd5qsw3r0flxxadem2r3lyxm2a5q4qk77fx8</author_url><provider_name>njump</provider_name><provider_url>https://yabu.me</provider_url><html>Null deref?&#xA;Like, some `switch` construct got optimized into kind of `foo[bar].doCrap(ctx, data)` construct? But the `foo[bar]` kind of construct without default pathway can happen in Rust anyway if that thing constructed dynamically (e. g. by other earlier part of arriving data).&#xA;this can be a common situation for some &#34;rules engine&#34; or other high-level code execution branching infrastructure.&#xA;Does Rust can enforce &#34;always have a meaningful result for `foo[bar]` construct?</html></oembed>