You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a feature specification that depended on both an optional dependency, and a feature of that optional dependency, and I got a confusing error message. Deleting the dep:... item from the list fixed the issue, and got things working the way I wanted, but this fix wasn't apparent from the error message. Here's a minimal reproducing Cargo.toml file, and the resulting error message.
error: Package `cargo-feature-error-message v0.1.0 (/home/david/scratch/cargo-feature-error-message)` does not have feature `keccak`. It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.
Does keccak/asm implicitly enable a keccak feature, and is that why I'm getting this message, or is this just an error handling edge case?
Problem
I wrote a feature specification that depended on both an optional dependency, and a feature of that optional dependency, and I got a confusing error message. Deleting the
dep:...
item from the list fixed the issue, and got things working the way I wanted, but this fix wasn't apparent from the error message. Here's a minimal reproducingCargo.toml
file, and the resulting error message.Does
keccak/asm
implicitly enable akeccak
feature, and is that why I'm getting this message, or is this just an error handling edge case?Steps
No response
Possible Solution(s)
No response
Notes
No response
Version
The text was updated successfully, but these errors were encountered: