Macro full_name

Source
macro_rules! full_name {
    () => { ... };
}
Expand description

Get the full path of the function where the macro is invoked. Returns a &'static str.

ยงExample

use minitrace::full_name;

fn foo() {
   assert_eq!(full_name!(), "rust_out::main::_doctest_main_minitrace_src_macros_rs_34_0::foo");
}