#[doc = crate::_tags!(internal)]
#[doc = crate::_doc_meta!{
location("yard", macro _doc_location),
}]
#[cfg_attr(cargo_primary_package, doc(hidden))]
#[cfg_attr(not(feature = "__docs_internal"), doc(hidden))]
#[cfg_attr(nightly_doc, doc(cfg(feature = "__docs_internal")))]
#[macro_export]
#[allow(clippy::crate_in_macro_def, reason = "to invoke __crate_name from crate of invocation")]
macro_rules! _doc_location路 {
($path:literal) => {
concat!(
"\n\n---\n\n", $crate::_doc_location!(%from_meta $path),
"\n\n---\n\n" )
};
($path:literal, $kind:ident $item:ident) => {
concat!(
"\n\n---\n\n", $crate::_doc_location!(%from_meta $path, $kind $item),
"\n\n---\n\n" )
};
(proc $path:literal) => {
concat!(
"\n\n---\n\n", $crate::_doc_location!(%from_meta proc $path),
"\n\n---\n\n" )
};
(proc $path:literal, $kind:ident $item:ident) => {
concat!(
"\n\n---\n\n", $crate::_doc_location!(%from_meta proc $path, $kind $item),
"\n\n---\n\n" )
};
(re-exported $path:literal) => {
concat!(
"\n\n---\n\n", $crate::_doc_location!(%from_meta re-exported $path)
)
};
(re-exported $path:literal, $kind:ident $item:ident) => {
concat!(
"\n\n---\n\n", $crate::_doc_location!(%from_meta re-exported $path, $kind $item)
)
};
(%from_meta re-exported $path:literal) => {
concat!(
"<sup title='re-exported from `", crate::__crate_name!(),
"`'>[`馃搷`](",
$crate::doclink路![custom_current_crate $path, @mod],
")</sup>",
"<sup class='_doc_location' title='location in `devela`'><b>",
"[`", $path, "`](",
$crate::doclink路![custom devela $path @mod],
")</b></sup>",
)
};
(%from_meta re-exported $path:literal, $kind:ident $item:ident) => {
concat!(
"<sup title='re-exported from `", crate::__crate_name!(),
"`'>[`馃搷`](",
$crate::doclink路![custom_current_crate $path, @item $kind $item],
")</sup>",
"<sup class='_doc_location' title='location in `devela`'><b>",
"[`", $path, "`](",
$crate::doclink路![custom devela $path @mod],
")::[`", ::core::stringify!($item), "`](",
$crate::doclink路![custom devela $path @item $kind $item],
")</b></sup>",
)
};
(%from_meta $path:literal) => {
concat!(
"<sup class='_doc_location' title='location in `devela`'>",
"馃搷 [`", $path, "`](",
$crate::doclink路![custom devela $path @mod],
")</sup>"
)
};
(%from_meta $path:literal, $kind:ident $item:ident) => {
concat!(
"<sup class='_doc_location' title='location in `devela`'>",
"馃搷 [`", $path, "`](",
$crate::doclink路![custom devela $path @mod],
")::[`", ::core::stringify!($item), "`](",
$crate::doclink路![custom devela $path @item $kind $item],
")</sup>"
)
};
(%from_meta proc $path:literal) => {
concat!(
"<sup class='_doc_location' title='procedural macro location in `devela`'>",
"馃搷 [`", $path, "`](",
$crate::doclink路![custom devela $path @mod],
")</sup>"
)
};
(%from_meta proc $path:literal, $kind:ident $item:ident) => {
concat!(
"<sup class='_doc_location' title='procedural macro location in `devela`'>",
"馃搷 [`", $path, "`](",
$crate::doclink路![custom devela $path @mod],
")::[`", ::core::stringify!($item), "`](",
$crate::doclink路![custom devela $path @item $kind $item],
")</sup>"
)
};
(%from_meta re-exported $path:literal) => {
concat!(
"<sup title='re-exported from `", crate::__crate_name!(),
"`'>[`馃搷`](",
$crate::doclink路![custom_current_crate $path, @mod],
")</sup>",
"<sup class='_doc_location' title='location in `devela`'><b>",
"[`", $path, "`](",
$crate::doclink路![custom devela $path @mod],
")</b></sup>",
)
};
}
#[doc(inline)]
pub use _doc_location路 as _doc_location;