macro_rules! _doc_location {
($path:literal) => {
concat!(
"\n\n---\n\n<sup title='defined in `", crate::__crate_name!(),
"`'>[`📍`](", $crate::doclink![custom_current_crate $path @mod], ")</sup>",
"<sup title='location in `devela`'><b>[`", $path,
"`](", $crate::doclink![custom devela $path @mod], ")</b></sup>\n\n",
)
};
(proc $path:literal) => {
concat!(
"\n\n---\n\n<sup title='defined in `", crate::__crate_name!(),
"`'>[`📍`](", $crate::doclink![custom_current_proc_crate @mod], ")</sup>",
"<sup title='location in `devela`'><b>[`", $path,
"`](", $crate::doclink![custom devela $path @mod], ")</b></sup>\n\n",
)
};
(re-exported $path:literal) => {
concat!(
"\n\n<sup title='re-exported from `", crate::__crate_name!(),
"`'>[`📍`](", $crate::doclink![custom_current_crate $path @mod], ")</sup>",
"<sup title='location in `devela`'><b>[`", $path,
"`](", $crate::doclink![custom devela $path @mod], ")</b></sup>",
)
};
}
pub(crate) use _doc_location;