diff --git a/Cargo.toml b/Cargo.toml index 7580d140b5..123594afe5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,3 +40,7 @@ libc = "0.2" compiletest_rs = { version = "0.5", features = ["tmp"] } rustc_version = "0.2.3" colored = "2" + +[package.metadata.rust-analyzer] +# This crate uses #[feature(rustc_private)] +rustc_private = true