about summary refs log tree commit diff
diff options
context:
space:
mode:
authortempdragon <645703113@qq.com>2024-02-18 14:36:39 +0800
committertempdragon <645703113@qq.com>2024-02-18 14:36:39 +0800
commit1f34c881e87969818cab379cd7ad9dd7d1bc2e3e (patch)
tree44376bc9b0895d06845b843a2ad3762cb1478a4a
parent32523557e71d3afc853f865301eaf65f38309076 (diff)
downloadrust-1f34c881e87969818cab379cd7ad9dd7d1bc2e3e.tar.gz
rust-1f34c881e87969818cab379cd7ad9dd7d1bc2e3e.zip
feat(Cargo.toml): Set `rustc_private` to `true` to allow lsp parsing
-rw-r--r--Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 5e657c7c539..85ad69e00fd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -57,3 +57,6 @@ debug = false
 [profile.release.build-override]
 opt-level = 0
 debug = false
+
+[package.metadata.rust-analyzer]
+rustc_private = true
\ No newline at end of file