[−][src]Function rustc_ap_rustc_expand::module::submod_path_from_attr
pub fn submod_path_from_attr(
attrs: &[Attribute],
dir_path: &Path
) -> Option<PathBuf>
Derive a submodule path from the first found #[path = "path_string"]
.
The provided dir_path
is joined with the path_string
.