<story><title>Announcing Rust 1.27.2</title><url>https://blog.rust-lang.org/2018/07/20/Rust-1.27.2.html</url></story><parent_chain><item><author>blackrock</author><text>Sample Code:&lt;p&gt;=======================&lt;p&gt;fn transmute_lifetime&amp;lt;&amp;#x27;a, &amp;#x27;b, T&amp;gt;(t: &amp;amp;&amp;#x27;a (T,)) -&amp;gt; &amp;amp;&amp;#x27;b T {&lt;p&gt;&lt;pre&gt;&lt;code&gt;    match (&amp;amp;t, ()) {

        ((t,), ()) =&amp;gt; t,

    }
&lt;/code&gt;&lt;/pre&gt;
}&lt;p&gt;=======================&lt;p&gt;I thought Obfuscated-C was hard to read.  Then C++ with all its templates.  Now, I&amp;#x27;m thinking Rust has taken the prize.</text></item></parent_chain><comment><author>phyzome</author><text>It&amp;#x27;s repro code for a compiler bug, of &lt;i&gt;course&lt;/i&gt; it looks horrible.&lt;p&gt;Here&amp;#x27;s a similarly horrible Java example, from a recent HN post on Java&amp;#x27;s type system being unsound: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;twitter.com&amp;#x2F;joshbloch&amp;#x2F;status&amp;#x2F;822948565433466881&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;twitter.com&amp;#x2F;joshbloch&amp;#x2F;status&amp;#x2F;822948565433466881&lt;/a&gt;&lt;p&gt;It&amp;#x27;s more verbose, because Java, but equally dense relative to the language as a whole.&lt;p&gt;This is not supposed to be good code.</text></comment>
<story><title>Announcing Rust 1.27.2</title><url>https://blog.rust-lang.org/2018/07/20/Rust-1.27.2.html</url></story><parent_chain><item><author>blackrock</author><text>Sample Code:&lt;p&gt;=======================&lt;p&gt;fn transmute_lifetime&amp;lt;&amp;#x27;a, &amp;#x27;b, T&amp;gt;(t: &amp;amp;&amp;#x27;a (T,)) -&amp;gt; &amp;amp;&amp;#x27;b T {&lt;p&gt;&lt;pre&gt;&lt;code&gt;    match (&amp;amp;t, ()) {

        ((t,), ()) =&amp;gt; t,

    }
&lt;/code&gt;&lt;/pre&gt;
}&lt;p&gt;=======================&lt;p&gt;I thought Obfuscated-C was hard to read.  Then C++ with all its templates.  Now, I&amp;#x27;m thinking Rust has taken the prize.</text></item></parent_chain><comment><author>kibwen</author><text>This is obfuscated code designed to exploit an obscure edge case in the compiler, and then minified for concision in the test case. :P</text></comment>