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 wouldn't see this as a bug, it's just how cfgs work -- the code simply doesn't exist if the feature isn't enabled.
Better handling for this would be quite hard to implement since the import statement isn't analyzed at all if the feature isn't active.
foo
being an inactive feature cfg in the current RA sessionHashMap
use std::collections::HashMap;
is generated--feature foo
rust-analyzer version: 0.4.2183-standalone
rustc version: 1.84.0-nightly (b8c8287a2 2024-11-03)
editor or extension: VSCode w/ RA v0.4.2183 (pre-release)
The text was updated successfully, but these errors were encountered: