macro_rules! func_path {
() => { ... };
}
Expand description
Return the type path of the callee.
Example:
fn foo() -> String {
func_path!()
}
// `foo()` outputs: "rust_out::main:: ... ::foo";
macro_rules! func_path {
() => { ... };
}
Return the type path of the callee.
Example:
fn foo() -> String {
func_path!()
}
// `foo()` outputs: "rust_out::main:: ... ::foo";