diff options
| author | bors <bors@rust-lang.org> | 2021-03-09 06:46:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-03-09 06:46:55 +0000 |
| commit | 727e5f133cfacc15ab21236b08ab49479eafb51d (patch) | |
| tree | 4e1b5bfd822c65bff93bdc8c07d34f60411b86bd | |
| parent | 2cb5bbf80ca497956531c071661dfd370d95fcf3 (diff) | |
| parent | c4e2cf9601d35646054b48b2503d6ddad7412b8f (diff) | |
| download | rust-727e5f133cfacc15ab21236b08ab49479eafb51d.tar.gz rust-727e5f133cfacc15ab21236b08ab49479eafb51d.zip | |
Auto merge of #6869 - DJMcNab:rust-analyzer-private, r=phansch
Opt-in to rustc_private for `rust-analyzer` rust-analyzer/rust-analyzer#7891 changelog: none This will also help priroda and any other package which depends on the `miri` library crate.
| -rw-r--r-- | Cargo.toml | 4 | ||||
| -rw-r--r-- | clippy_lints/Cargo.toml | 10 | ||||
| -rw-r--r-- | clippy_utils/Cargo.toml | 4 |
3 files changed, 15 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml index 98a5be2898d..a6d0c16fd3a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -56,3 +56,7 @@ rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util" } deny-warnings = [] integration = ["tempfile"] internal-lints = ["clippy_lints/internal-lints"] + +[package.metadata.rust-analyzer] +# This package uses #[feature(rustc_private)] +rustc_private = true diff --git a/clippy_lints/Cargo.toml b/clippy_lints/Cargo.toml index d5ec8597044..ff4cf527ec4 100644 --- a/clippy_lints/Cargo.toml +++ b/clippy_lints/Cargo.toml @@ -7,7 +7,7 @@ authors = [ "Manish Goregaokar <manishsmail@gmail.com>", "Andre Bogus <bogusandre@gmail.com>", "Georg Brandl <georg@python.org>", - "Martin Carton <cartonmartin@gmail.com>" + "Martin Carton <cartonmartin@gmail.com>", ] description = "A bunch of helpful lints to avoid common pitfalls in Rust" repository = "https://github.com/rust-lang/rust-clippy" @@ -29,10 +29,10 @@ smallvec = { version = "1", features = ["union"] } toml = "0.5.3" unicode-normalization = "0.1" semver = "0.11" -rustc-semver="1.1.0" +rustc-semver = "1.1.0" # NOTE: cargo requires serde feat in its url dep # see <https://github.com/rust-lang/rust/pull/63587#issuecomment-522343864> -url = { version = "2.1.0", features = ["serde"] } +url = { version = "2.1.0", features = ["serde"] } quote = "1" syn = { version = "1", features = ["full"] } @@ -40,3 +40,7 @@ syn = { version = "1", features = ["full"] } deny-warnings = [] # build clippy with internal lints enabled, off by default internal-lints = ["clippy_utils/internal-lints"] + +[package.metadata.rust-analyzer] +# This crate uses #[feature(rustc_private)] +rustc_private = true diff --git a/clippy_utils/Cargo.toml b/clippy_utils/Cargo.toml index 9c01badb04c..9e07f140cf1 100644 --- a/clippy_utils/Cargo.toml +++ b/clippy_utils/Cargo.toml @@ -17,3 +17,7 @@ rustc-semver="1.1.0" [features] internal-lints = [] + +[package.metadata.rust-analyzer] +# This crate uses #[feature(rustc_private)] +rustc_private = true |
