0;
        &#39;d: {
            // An anonymous scope is introduced because the borrow does not
            // need to last for the whole scope x is valid for. The return
            // of as_str must find a str somewhere before this function
            // call. Obviously not happening.
            println!(&quot;{}&quot;, as_str::&lt;&#39;d&gt;(&amp;&#39;d x));
        }
    }
}
</span><pre class='rust rust-example-rendered'>
<span class='kw'>fn</span> <span class='ident'>as_str</span><span class='op'>&l