We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This should fail, but passes: https://play.rust-lang.org/?gist=fb9ab8b08c460ff4b0bb514f560cb079&version=stable
Originally found in rust-lang/cargo#4479
The text was updated successfully, but these errors were encountered:
Fix dtolnay#124: ^0.11.0-rc.2 should not match 0.11.0
80cb14d
I believe the current implementation is consistent with the behavior described for caret comparators in https://github.com/semver/semver/blob/efcff2c838c9945f79bfd21c1df0073271bcc29c/ranges.md (modulo the typo in semver/semver#584 (comment)). ^0.11.0-rc.2 is equivalent to >=0.11.0-rc.2, <0.12.0-0, and nothing there suggests to me that it shouldn't match 0.11.0.
^0.11.0-rc.2
>=0.11.0-rc.2, <0.12.0-0
0.11.0
Sorry, something went wrong.
No branches or pull requests
This should fail, but passes: https://play.rust-lang.org/?gist=fb9ab8b08c460ff4b0bb514f560cb079&version=stable
Originally found in rust-lang/cargo#4479
The text was updated successfully, but these errors were encountered: