-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Opt-in to rustc_private for
rust-analyzer
- Loading branch information
Showing
3 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ authors = [ | |
"Manish Goregaokar <[email protected]>", | ||
"Andre Bogus <[email protected]>", | ||
"Georg Brandl <[email protected]>", | ||
"Martin Carton <[email protected]>" | ||
"Martin Carton <[email protected]>", | ||
] | ||
description = "A bunch of helpful lints to avoid common pitfalls in Rust" | ||
repository = "https://github.com/rust-lang/rust-clippy" | ||
|
@@ -29,14 +29,18 @@ 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"] } | ||
|
||
[features] | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters