Equivalent of __func__ or __FUNCTION__ in Rust?
<p>In C and C++ you can get the name of the currently executing function through the <code>__func__</code> macro with C99 &amp; C++11 and <code>___FUNCTION___</code> for MSVC.</p>

<p>Is there an equivalent of this in Rust?</p>

<p>Example of <code>__func__</code> in C:</p>

<pre class="lang-c prettyprint-override"><code>#include "stdio.h"

void funny_hello() {
    printf ("Hello from %s\n", __func__);
}

int main() {
    funny_hello();
}
</code></pre>

<p>Outputs <code>Hello from funny_hello</code>.</p>