From d3c749481fceda00d276b78e4462303109dbff21 Mon Sep 17 00:00:00 2001 From: Nelson J Morais Date: Mon, 22 Mar 2021 19:31:42 +0000 Subject: [PATCH 1/2] add key rustc_private for package metadata for rust-analyzer in librustdoc --- src/librustdoc/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/librustdoc/Cargo.toml b/src/librustdoc/Cargo.toml index 2d0722396fcf3..3d75a8cca8aa6 100644 --- a/src/librustdoc/Cargo.toml +++ b/src/librustdoc/Cargo.toml @@ -29,3 +29,6 @@ features = ["fmt", "env-filter", "smallvec", "parking_lot", "ansi"] [dev-dependencies] expect-test = "1.0" + +[package.metadata.rust-analyzer] +rustc_private = true \ No newline at end of file From 34635ec10eb30d7977b8b9d4c683a8e976b52455 Mon Sep 17 00:00:00 2001 From: Nelson J Morais Date: Mon, 22 Mar 2021 19:42:05 +0000 Subject: [PATCH 2/2] missing newline at eof --- src/librustdoc/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustdoc/Cargo.toml b/src/librustdoc/Cargo.toml index 3d75a8cca8aa6..eb38adb0b73ab 100644 --- a/src/librustdoc/Cargo.toml +++ b/src/librustdoc/Cargo.toml @@ -31,4 +31,4 @@ features = ["fmt", "env-filter", "smallvec", "parking_lot", "ansi"] expect-test = "1.0" [package.metadata.rust-analyzer] -rustc_private = true \ No newline at end of file +rustc_private = true