**rust-analyzer version**: rust-analyzer version: 5fae65dd2 2022-03-07 stable **rustc version**: rustc 1.60.0-nightly (bfe156467 2022-01-22) **relevant settings**: None Minimal reproducible example can be found [here](https://github.com/alice-i-cecile/ra-feature-flag-bug-report). The code compiles, both with and without the feature flag, but RA shows an error.