From 7a60181679f34b9b10dc520b1128125c1cb0aa8a Mon Sep 17 00:00:00 2001 From: Eduard-Mihai Burtescu Date: Tue, 14 Dec 2021 09:09:21 +0200 Subject: [PATCH] Hint `"rust-analyzer.rustcSource": "discover"` next to `rustc_private = true`. (#825) --- crates/rustc_codegen_spirv/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/rustc_codegen_spirv/Cargo.toml b/crates/rustc_codegen_spirv/Cargo.toml index 2f0b8f452f..540e033712 100644 --- a/crates/rustc_codegen_spirv/Cargo.toml +++ b/crates/rustc_codegen_spirv/Cargo.toml @@ -51,6 +51,8 @@ pipe = "0.4" pretty_assertions = "1.0" tempfile = "3.2" +# Note that in order to use RA and have access to `rustc_*` crates, you also +# need to set `"rust-analyzer.rustcSource": "discover"` in e.g. VSCode. [package.metadata.rust-analyzer] # This crate uses #[feature(rustc_private)] rustc_private = true