Improve stub resolution error #2013
Labels
[C] Feature / Enhancement
A new feature request or enhancement to an existing feature.
[E] User Experience
An UX enhancement for an existing feature. Including deprecation of an existing one.
Milestone
Failure to resolve a stub source or target name is fairly generic. For the following stub:
an error would look like:
We should be able to provide more information for the user. For example, was the problem found while trying to resolve
other_crate2
ormock
? Ideally we should also point out where the error is with span_error. Something like the resolution errors from the compiler:The text was updated successfully, but these errors were encountered: