Proc macro to insert function name within body of function because Rust is incapable of doing simple things
Once type_name is stable in const
context this macro can be replaced properly with simple function call on function type.
use func_::_func_;
#[_func_]
fn my_func() {
assert_eq!(__func__, "my_func");
}