v><div class="example-wrap"><pre class="rust rust-example-rendered ignore">
<span class="macro">abort</span><span class="macro">!</span>(<span class="ident">span</span>, <span class="ident">message</span>)</pre></div>
<p>The first argument is an expression the span info should be taken from. It can be
either</p>
<ul>
<li>[<code>proc_macro::Span</code>]</li>
<li>[<code>proc_macro2::Span</code>]</li>
<li>Anything that implements [<code>quote::ToTokens</code>], in other words, almost every type</li>
<li>in <co