Hint "rust-analyzer.rustcSource": "discover" next to rustc_private = true. (#825)

This commit is contained in:
Eduard-Mihai Burtescu 2021-12-14 09:09:21 +02:00 committed by GitHub
parent da7c3ed71f
commit 7a60181679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,6 +51,8 @@ pipe = "0.4"
pretty_assertions = "1.0" pretty_assertions = "1.0"
tempfile = "3.2" 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] [package.metadata.rust-analyzer]
# This crate uses #[feature(rustc_private)] # This crate uses #[feature(rustc_private)]
rustc_private = true rustc_private = true