Error Lens and conditional compilation

I just added a new feature to my Cargo.toml that I use for conditional compilation. The code builds correctly, and cargo check works when I save a file. However, Error Lens says

code is inactive due to #[cfg] directives: feature = "foo-bar" is disabled

It's working correctly for features I've been using for a long time, but not the new one. That tells me I didn't set it somewhere, but can't find where. I have added the new feature everywhere I can think of in tasks.json and settings.json.

It fixed. I have no idea what changed.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.