pub(crate) fn mod_file_path_from_attr(
sess: &Session,
attrs: &[Attribute],
dir_path: &Path,
) -> Option<PathBuf>
Expand description
Derive a submodule path from the first found #[path = "path_string"]
.
The provided dir_path
is joined with the path_string
.