Improve error message when attempting to change features when replacing a dependency (may apply to [patch] too) #3740
Labels
A-diagnostics
Area: Error and warning messages generated by Cargo itself.
A-patch
Area: [patch] table override
C-bug
Category: bug
My project's
Cargo.toml
fileWhen I try to compile it, I get the following warnings:
So, as suggested, I added
version
field to my replace.Now, I get an error
So, either the first warning that I got was misleading, cause it suggested to use
version
property (via "or version to use"), or replacing version is brokenThe text was updated successfully, but these errors were encountered: