I'm trying to work through the mpmc channel code in the Rust standard library. Much of it is covered by: #[unstable(feature = "mpmc_channel", issue = "126840")]
and this gets in the way of the navigation features in vs code. For example, I can't reliably use "Go to definition" or find all references to a particular function.
Is there any way to configure the editor to include the unstable mpmc_channel feature?
I'm using the Rust and rust-analyzer extensions. (I tried the Rust Feature Toggler extension, but that doesn't help.)
#[unstable] shouldn't have any effect on rust-analyzer functionality. Did you configure rust-analyzer to work in your local checkout of rust-lang/rust at all? It has a non-standard layout that rust-analyzer doesn't autodetect. Try running ./x.py setup and then when asked let it write a vscode (or zed or helix or emacs) configuration: rust/src/etc/rust_analyzer_settings.json at master · rust-lang/rust · GitHub