[[example]] name = "example" required-features = ["a/some_feature"]
this doesn't enable a's some_feature in
please help me decide a title for issue
required-features doesn't cause features to be enabled. Instead it skips building the respective target when the features are not enabled. https://doc.rust-lang.org/cargo/reference/cargo-targets.html#the-required-features-field
@Manmeet Mann ^
I have also enabled rust-analyzer.cargo.allFeatures :shrug:
so atleast I should not get any errors
That only enables the features of the current crate.
and you got a bit late :( https://github.com/rust-analyzer/rust-analyzer/issues/7118
but feel free to close
I do feel that something should be done regarding this, like skipping the example
Yeah, I guess it can be kept open.