Odd behaviour for non-precise git dependencies in Cargo.lock #13300
Labels
A-diagnostics
Area: Error and warning messages generated by Cargo itself.
A-git
Area: anything dealing with git
A-lockfile
Area: Cargo.lock issues
C-bug
Category: bug
S-needs-design
Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Problem
If a Cargo lock is mistakenly edited to have a non-precise git dependency, like:
I would expect an error, but instead the behavior is pretty odd:
I can't rule out this being an odd feature, but I could not find it in the Cargo book and can't think how it would be used.
Steps
No response
Possible Solution(s)
No response
Notes
No response
Version
The text was updated successfully, but these errors were encountered: