Open
Description
Problem
Currently, fix missing feature does not support quick fix.
failed to resolve: could not find `X` in `Y` the item is gated behind the `Z` feature
error[E0433]: failed to resolve: could not find `X` in `Y`
...
note: found an item that was configured out
= note: the item is gated behind the `Z` feature
No quick fixes available
Currently
Need 5 human steps to fix
-
Click for full compiler diagnostic
-
Copy feature name
Z
, remember depedency nameY
-
Find
Cargo.toml
-
Open
Cargo.toml
, locateCargo.toml
dependencies fieldY
-
Alter
Y = "1.2.3"
toY = { version = "1.2.3", features = ["Z"] }
Feat
Should support quickfix
adding missing feature