Skip to content

Commit d55c373

Browse files
committed
Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup
2 parents cb0584f + d9ddce8 commit d55c373

File tree

269 files changed

+7465
-2628
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

269 files changed

+7465
-2628
lines changed

src/tools/clippy/CHANGELOG.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -3276,9 +3276,11 @@ Released 2018-09-13
32763276
<!-- begin autogenerated links to lint list -->
32773277
[`absurd_extreme_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#absurd_extreme_comparisons
32783278
[`allow_attributes_without_reason`]: https://rust-lang.github.io/rust-clippy/master/index.html#allow_attributes_without_reason
3279+
[`almost_complete_letter_range`]: https://rust-lang.github.io/rust-clippy/master/index.html#almost_complete_letter_range
32793280
[`almost_swapped`]: https://rust-lang.github.io/rust-clippy/master/index.html#almost_swapped
32803281
[`approx_constant`]: https://rust-lang.github.io/rust-clippy/master/index.html#approx_constant
32813282
[`as_conversions`]: https://rust-lang.github.io/rust-clippy/master/index.html#as_conversions
3283+
[`as_underscore`]: https://rust-lang.github.io/rust-clippy/master/index.html#as_underscore
32823284
[`assertions_on_constants`]: https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants
32833285
[`assign_op_pattern`]: https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern
32843286
[`assign_ops`]: https://rust-lang.github.io/rust-clippy/master/index.html#assign_ops
@@ -3296,6 +3298,7 @@ Released 2018-09-13
32963298
[`bool_assert_comparison`]: https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison
32973299
[`bool_comparison`]: https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison
32983300
[`borrow_as_ptr`]: https://rust-lang.github.io/rust-clippy/master/index.html#borrow_as_ptr
3301+
[`borrow_deref_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref
32993302
[`borrow_interior_mutable_const`]: https://rust-lang.github.io/rust-clippy/master/index.html#borrow_interior_mutable_const
33003303
[`borrowed_box`]: https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box
33013304
[`box_collection`]: https://rust-lang.github.io/rust-clippy/master/index.html#box_collection
@@ -3362,6 +3365,7 @@ Released 2018-09-13
33623365
[`disallowed_type`]: https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_type
33633366
[`disallowed_types`]: https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_types
33643367
[`diverging_sub_expression`]: https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression
3368+
[`doc_link_with_quotes`]: https://rust-lang.github.io/rust-clippy/master/index.html#doc_link_with_quotes
33653369
[`doc_markdown`]: https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
33663370
[`double_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#double_comparisons
33673371
[`double_must_use`]: https://rust-lang.github.io/rust-clippy/master/index.html#double_must_use
@@ -3435,6 +3439,7 @@ Released 2018-09-13
34353439
[`from_over_into`]: https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into
34363440
[`from_str_radix_10`]: https://rust-lang.github.io/rust-clippy/master/index.html#from_str_radix_10
34373441
[`future_not_send`]: https://rust-lang.github.io/rust-clippy/master/index.html#future_not_send
3442+
[`get_first`]: https://rust-lang.github.io/rust-clippy/master/index.html#get_first
34383443
[`get_last_with_len`]: https://rust-lang.github.io/rust-clippy/master/index.html#get_last_with_len
34393444
[`get_unwrap`]: https://rust-lang.github.io/rust-clippy/master/index.html#get_unwrap
34403445
[`identity_conversion`]: https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion
@@ -3556,6 +3561,7 @@ Released 2018-09-13
35563561
[`min_max`]: https://rust-lang.github.io/rust-clippy/master/index.html#min_max
35573562
[`misaligned_transmute`]: https://rust-lang.github.io/rust-clippy/master/index.html#misaligned_transmute
35583563
[`mismatched_target_os`]: https://rust-lang.github.io/rust-clippy/master/index.html#mismatched_target_os
3564+
[`mismatching_type_param_order`]: https://rust-lang.github.io/rust-clippy/master/index.html#mismatching_type_param_order
35593565
[`misrefactored_assign_op`]: https://rust-lang.github.io/rust-clippy/master/index.html#misrefactored_assign_op
35603566
[`missing_const_for_fn`]: https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_fn
35613567
[`missing_docs_in_private_items`]: https://rust-lang.github.io/rust-clippy/master/index.html#missing_docs_in_private_items
@@ -3613,6 +3619,7 @@ Released 2018-09-13
36133619
[`new_without_default`]: https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
36143620
[`new_without_default_derive`]: https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive
36153621
[`no_effect`]: https://rust-lang.github.io/rust-clippy/master/index.html#no_effect
3622+
[`no_effect_replace`]: https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_replace
36163623
[`no_effect_underscore_binding`]: https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding
36173624
[`non_ascii_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#non_ascii_literal
36183625
[`non_octal_unix_permissions`]: https://rust-lang.github.io/rust-clippy/master/index.html#non_octal_unix_permissions
@@ -3729,7 +3736,6 @@ Released 2018-09-13
37293736
[`skip_while_next`]: https://rust-lang.github.io/rust-clippy/master/index.html#skip_while_next
37303737
[`slow_vector_initialization`]: https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization
37313738
[`stable_sort_primitive`]: https://rust-lang.github.io/rust-clippy/master/index.html#stable_sort_primitive
3732-
[`significant_drop_in_scrutinee`]: https://rust-lang.github.io/rust-clippy/master/index.html#significant_drop_in_scrutinee
37333739
[`str_to_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string
37343740
[`string_add`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_add
37353741
[`string_add_assign`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_add_assign
@@ -3750,6 +3756,7 @@ Released 2018-09-13
37503756
[`suspicious_operation_groupings`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_operation_groupings
37513757
[`suspicious_splitn`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_splitn
37523758
[`suspicious_unary_op_formatting`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_unary_op_formatting
3759+
[`swap_ptr_to_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#swap_ptr_to_ref
37533760
[`tabs_in_doc_comments`]: https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
37543761
[`temporary_assignment`]: https://rust-lang.github.io/rust-clippy/master/index.html#temporary_assignment
37553762
[`temporary_cstring_as_ptr`]: https://rust-lang.github.io/rust-clippy/master/index.html#temporary_cstring_as_ptr
@@ -3820,6 +3827,7 @@ Released 2018-09-13
38203827
[`unused_collect`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_collect
38213828
[`unused_io_amount`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount
38223829
[`unused_label`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_label
3830+
[`unused_rounding`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_rounding
38233831
[`unused_self`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_self
38243832
[`unused_unit`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
38253833
[`unusual_byte_groupings`]: https://rust-lang.github.io/rust-clippy/master/index.html#unusual_byte_groupings

src/tools/clippy/Cargo.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ tempfile = { version = "3.2", optional = true }
2828
termize = "0.1"
2929

3030
[dev-dependencies]
31-
compiletest_rs = { version = "0.7.1", features = ["tmp"] }
31+
compiletest_rs = { version = "0.8", features = ["tmp"] }
3232
tester = "0.9"
3333
regex = "1.5"
3434
# This is used by the `collect-metadata` alias.
@@ -40,6 +40,7 @@ filetime = "0.2"
4040
rustc-workspace-hack = "1.0"
4141

4242
# UI test dependencies
43+
clap = { version = "3.1", features = ["derive"] }
4344
clippy_utils = { path = "clippy_utils" }
4445
derive-new = "0.5"
4546
if_chain = "1.0"
@@ -48,7 +49,7 @@ quote = "1.0"
4849
serde = { version = "1.0.125", features = ["derive"] }
4950
syn = { version = "1.0", features = ["full"] }
5051
futures = "0.3"
51-
parking_lot = "0.11.2"
52+
parking_lot = "0.12"
5253
tokio = { version = "1", features = ["io-util"] }
5354
rustc-semver = "1.1"
5455

src/tools/clippy/clippy_dev/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55

66
[dependencies]
77
aho-corasick = "0.7"
8-
clap = "2.33"
8+
clap = "3.1"
99
indoc = "1.0"
1010
itertools = "0.10.1"
1111
opener = "0.5"

0 commit comments

Comments
 (0)