forked from Swatinem/rust-clippy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup
- Loading branch information
Showing
297 changed files
with
15,608 additions
and
12,460 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[alias] | ||
uitest = "test --test compile-test" | ||
dev = "run --target-dir clippy_dev/target --package clippy_dev --bin clippy_dev --manifest-path clippy_dev/Cargo.toml --" | ||
dev-lintcheck = "run --target-dir clippy_dev/target --package clippy_dev --bin clippy_dev --manifest-path clippy_dev/Cargo.toml --features lintcheck -- lintcheck" | ||
lintcheck = "run --target-dir lintcheck/target --package lintcheck --bin lintcheck --manifest-path lintcheck/Cargo.toml -- " | ||
|
||
[build] | ||
rustflags = ["-Zunstable-options"] |
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
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
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 |
---|---|---|
@@ -1,13 +1,7 @@ | ||
[package] | ||
name = "clippy" | ||
version = "0.1.52" | ||
authors = [ | ||
"Manish Goregaokar <[email protected]>", | ||
"Andre Bogus <[email protected]>", | ||
"Georg Brandl <[email protected]>", | ||
"Martin Carton <[email protected]>", | ||
"Oliver Schneider <[email protected]>" | ||
] | ||
authors = ["The Rust Clippy Developers"] | ||
description = "A bunch of helpful lints to avoid common pitfalls in Rust" | ||
repository = "https://github.com/rust-lang/rust-clippy" | ||
readme = "README.md" | ||
|
@@ -42,6 +36,7 @@ tester = "0.9" | |
clippy-mini-macro-test = { version = "0.2", path = "mini-macro" } | ||
serde = { version = "1.0", features = ["derive"] } | ||
derive-new = "0.5" | ||
regex = "1.4" | ||
|
||
# A noop dependency that changes in the Rust repository, it's a bit of a hack. | ||
# See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust` | ||
|
@@ -55,3 +50,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 |
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 |
---|---|---|
@@ -1,27 +1,17 @@ | ||
[package] | ||
name = "clippy_dev" | ||
version = "0.0.1" | ||
authors = ["Philipp Hansch <[email protected]>"] | ||
authors = ["The Rust Clippy Developers"] | ||
edition = "2018" | ||
|
||
|
||
[dependencies] | ||
bytecount = "0.6" | ||
clap = "2.33" | ||
flate2 = { version = "1.0.19", optional = true } | ||
fs_extra = { version = "1.2.0", optional = true } | ||
itertools = "0.9" | ||
opener = "0.4" | ||
regex = "1" | ||
serde = { version = "1.0", features = ["derive"], optional = true } | ||
serde_json = { version = "1.0", optional = true } | ||
shell-escape = "0.1" | ||
tar = { version = "0.4.30", optional = true } | ||
toml = { version = "0.5", optional = true } | ||
ureq = { version = "2.0.0-rc3", optional = true } | ||
rayon = { version = "1.5.0", optional = true } | ||
walkdir = "2" | ||
|
||
[features] | ||
lintcheck = ["flate2", "serde_json", "tar", "toml", "ureq", "serde", "fs_extra", "rayon"] | ||
deny-warnings = [] |
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "clippy_dummy" # rename to clippy before publishing | ||
version = "0.0.303" | ||
authors = ["Manish Goregaokar <[email protected]>"] | ||
authors = ["The Rust Clippy Developers"] | ||
edition = "2018" | ||
readme = "crates-readme.md" | ||
description = "A bunch of helpful lints to avoid common pitfalls in Rust." | ||
|
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 |
---|---|---|
|
@@ -3,12 +3,7 @@ name = "clippy_lints" | |
# begin automatic update | ||
version = "0.1.52" | ||
# end automatic update | ||
authors = [ | ||
"Manish Goregaokar <[email protected]>", | ||
"Andre Bogus <[email protected]>", | ||
"Georg Brandl <[email protected]>", | ||
"Martin Carton <[email protected]>" | ||
] | ||
authors = ["The Rust Clippy Developers"] | ||
description = "A bunch of helpful lints to avoid common pitfalls in Rust" | ||
repository = "https://github.com/rust-lang/rust-clippy" | ||
readme = "README.md" | ||
|
@@ -29,14 +24,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
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
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
Oops, something went wrong.