diff --git a/docs/src/rustc-hacks.md b/docs/src/rustc-hacks.md index c7b5b31a191a1..e5735fe73461d 100644 --- a/docs/src/rustc-hacks.md +++ b/docs/src/rustc-hacks.md @@ -15,7 +15,7 @@ In order to get these features working for `rustc` crates, you can do the follow Add the following to the `rust-analyzer` extension settings in `settings.json`: ```json - "rust-analyzer.rustcSource": "discover", + "rust-analyzer.rustc.source": "discover", "rust-analyzer.workspace.symbol.search.scope": "workspace_and_dependencies", ```