As part of #503 I need to parse an isolated
Path from doc comments.
What should the API look like, should it just be
Path::parse(src: &str) -> Self?
Alternatively should it be on
ModPath, parsing names then using
Do you mean for ast::Path or the HIR Path? If ast, I implemented a parse method in https://github.com/rust-analyzer/rust-analyzer/pull/4962
Oh perfect! This is the second time I've asked for something and found someone implemented it recently. I guess I should watch the commit log more :).