about summary refs log tree commit diff
path: root/tests/ui/needless_bool/fixable.fixed
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-07-29 10:14:31 +0000
committerbors <bors@rust-lang.org>2021-07-29 10:14:31 +0000
commit0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b (patch)
treef6aea4e92019a291865be21a2e7a810de01de188 /tests/ui/needless_bool/fixable.fixed
parent766f09f5c12e9103eb78da583eb637d036bdf795 (diff)
parent54e539121d7911933157519a80e8dd30219dc9e0 (diff)
Auto merge of #7504 - flip1995:rename-lints, r=flip1995
Rename two lints to comply with our lint naming convention

self_named_constructor -> self_named_constructors
append_instead_of_extend -> extend_with_drain

We don't need to `register_renamed` those lints, since I'll backport them to beta, so the old names won't hit stable.

changelog: none
(I'll adapt the changelog before merging #7498)
Diffstat (limited to 'tests/ui/needless_bool/fixable.fixed')
-rw-r--r--tests/ui/needless_bool/fixable.fixed2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/needless_bool/fixable.fixed b/tests/ui/needless_bool/fixable.fixed
index 5917ffc3e12..639eac8b8b3 100644
--- a/tests/ui/needless_bool/fixable.fixed
+++ b/tests/ui/needless_bool/fixable.fixed
@@ -7,7 +7,7 @@
     clippy::no_effect,
     clippy::if_same_then_else,
     clippy::needless_return,
-    clippy::self_named_constructor
+    clippy::self_named_constructors
 )]
 
 use std::cell::Cell;