Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error handling when PathSource is relative (#14854)
When editing dependencies with cargo, if a relative PathSource is supplied cargo panics with "both paths are absolute". This is the opposite of what's actually wrong leading to confusion. Instead, use the same error formatting we use in other diff_paths calls and return that error instead of panicking.
- Loading branch information