..
casts
avoid linting possible_truncation
on bit-reducing operations
2021-10-29 21:59:24 +02:00
functions
Fixed naive doc formatting for #[must_use]
lints
2021-10-16 15:26:47 +00:00
loops
Update rustfmt
2021-10-24 12:52:38 -05:00
methods
Update rustfmt
2021-10-24 12:52:38 -05:00
misc_early
Add separated_literal_suffix
as an alternative for
2021-11-01 22:26:13 +08:00
transmute
Fix doc heading of TRANSMUTE_NUM_TO_BYTES
2021-10-20 13:46:12 +02:00
types
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
unit_types
utils
Remove hidden code lines in Clippy's lint list
2021-10-26 22:33:46 +02:00
absurd_extreme_comparisons.rs
approx_const.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
2021-09-08 16:31:47 +02:00
arithmetic.rs
as_conversions.rs
asm_syntax.rs
assertions_on_constants.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
2021-09-08 16:31:47 +02:00
assign_ops.rs
async_yields_async.rs
attrs.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
await_holding_invalid.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
bit_mask.rs
blacklisted_name.rs
blocks_in_if_conditions.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
2021-09-08 16:31:47 +02:00
bool_assert_comparison.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
2021-09-08 16:31:47 +02:00
booleans.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
bytecount.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
2021-09-08 16:31:47 +02:00
cargo_common_metadata.rs
Do not pass hir::Crate to lints.
2021-09-30 17:39:54 +02:00
case_sensitive_file_extension_comparisons.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
checked_conversions.rs
cognitive_complexity.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
collapsible_if.rs
collapsible_match.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
2021-09-08 16:31:47 +02:00
comparison_chain.rs
copies.rs
Merge remote-tracking branch 'upstream/master' into rustup
2021-10-21 12:18:12 +02:00
copy_iterator.rs
create_dir.rs
dbg_macro.rs
default_numeric_fallback.rs
default.rs
Fix false positive when Drop
and Copy
involved
2021-10-09 14:56:33 +02:00
deprecated_lints.rs
Clean up tests/ui/deprecated.rs
2021-10-26 10:52:35 -07:00
dereference.rs
Update rustfmt
2021-10-24 12:52:38 -05:00
derivable_impls.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
derive.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
disallowed_method.rs
Do not pass hir::Crate to lints.
2021-09-30 17:39:54 +02:00
disallowed_script_idents.rs
disallowed_type.rs
Rename disallowed
to conf_disallowed
2021-10-11 08:29:56 +01:00
doc.rs
use a variable
2021-10-21 14:40:33 -07:00
double_comparison.rs
double_parens.rs
drop_forget_ref.rs
duration_subsec.rs
else_if_without_else.rs
empty_enum.rs
entry.rs
Update rustfmt
2021-10-24 12:52:38 -05:00
enum_clike.rs
enum_variants.rs
Refactored some string handling to prevent ICEs and FNs
2021-10-24 22:47:39 +02:00
eq_op.rs
avoid eq_op
in test code
2021-10-19 21:02:30 +02:00
equatable_if_let.rs
Do not expand macros in equatable_if_let suggestion
2021-10-08 15:26:10 +02:00
erasing_op.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
escape.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
eta_reduction.rs
Update rustfmt
2021-10-24 12:52:38 -05:00
eval_order_dependence.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
excessive_bools.rs
exhaustive_items.rs
exit.rs
explicit_write.rs
fallible_impl_from.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
feature_name.rs
Do not pass hir::Crate to lints.
2021-09-30 17:39:54 +02:00
float_equality_without_abs.rs
float_literal.rs
Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup
2021-09-28 18:03:12 +01:00
floating_point_arithmetic.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
2021-09-08 16:31:47 +02:00
format_args.rs
Add format_in_format_args
and to_string_in_format_args
lints
2021-10-15 12:44:38 -04:00
format.rs
Make useless_format recognize format!("")
2021-10-21 19:01:28 +01:00
formatting.rs
Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup
2021-09-28 18:03:12 +01:00
from_over_into.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
from_str_radix_10.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
future_not_send.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
get_last_with_len.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
identity_op.rs
Remove unneeded allow
2021-10-18 08:46:11 +02:00
if_let_mutex.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
if_not_else.rs
Disable "if_not_else" lints firing on else-ifs
2021-10-29 22:07:05 +02:00
if_then_some_else_none.rs
Introduce hir::ExprKind::Let - Take 2
2021-08-15 16:18:26 -03:00
implicit_hasher.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
implicit_return.rs
implicit_saturating_sub.rs
Fix false positive of implicit_saturating_sub
with else
clause
2021-10-17 15:56:59 +02:00
inconsistent_struct_constructor.rs
indexing_slicing.rs
Introduce hir::ExprKind::Let - Take 2
2021-08-15 16:18:26 -03:00
infinite_iter.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
inherent_impl.rs
Do not pass hir::Crate to lints.
2021-09-30 17:39:54 +02:00
inherent_to_string.rs
Remove redundant to_string
s
2021-10-15 12:44:49 -04:00
inline_fn_without_body.rs
int_plus_one.rs
Update rustfmt
2021-10-24 12:52:38 -05:00
integer_division.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
invalid_upcast_comparisons.rs
Move const int value code to utils
2021-10-20 06:13:42 +02:00
items_after_statements.rs
iter_not_returning_iterator.rs
Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup
2021-09-28 18:03:12 +01:00
large_const_arrays.rs
Keep a parent LocalDefId in SpanData.
2021-09-10 20:17:33 +02:00
large_enum_variant.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
large_stack_arrays.rs
rustc_target: move LayoutOf
to ty::layout
.
2021-09-02 01:17:14 +03:00
len_zero.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
let_if_seq.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
2021-09-08 16:31:47 +02:00
let_underscore.rs
Fixed naive doc formatting for #[must_use]
lints
2021-10-16 15:26:47 +00:00
lib.deprecated.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
lib.register_all.rs
Move if_then_panic to pedantic
2021-10-28 09:38:01 -05:00
lib.register_cargo.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
lib.register_complexity.rs
Add lint transmute_num_to_bytes
2021-10-13 20:05:05 +01:00
lib.register_correctness.rs
Add unit-hash lint
2021-10-27 06:32:37 -07:00
lib.register_internal.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
lib.register_lints.rs
Auto merge of #7726 - dswij:unseparated-literal-suffix, r=flip1995
2021-11-02 09:57:12 +00:00
lib.register_nursery.rs
Move non_send_fields_in_send_ty
to suspicious
2021-10-25 19:32:17 +02:00
lib.register_pedantic.rs
Auto merge of #7907 - Alexendoo:non-ascii-restriction, r=flip1995
2021-11-02 10:36:26 +00:00
lib.register_perf.rs
Add format_in_format_args
and to_string_in_format_args
lints
2021-10-15 12:44:38 -04:00
lib.register_restriction.rs
Auto merge of #7907 - Alexendoo:non-ascii-restriction, r=flip1995
2021-11-02 10:36:26 +00:00
lib.register_style.rs
Move if_then_panic to pedantic
2021-10-28 09:38:01 -05:00
lib.register_suspicious.rs
Move non_send_fields_in_send_ty
to suspicious
2021-10-25 19:32:17 +02:00
lib.rs
Disable "if_not_else" lints firing on else-ifs
2021-10-29 22:07:05 +02:00
lifetimes.rs
Examine lifetimes in OpaqueDef
bounds as well
2021-11-02 10:54:58 +01:00
literal_representation.rs
macro_use.rs
Merge remote-tracking branch 'upstream/master' into rustup
2021-10-07 11:11:23 +02:00
main_recursion.rs
Do not pass hir::Crate to lints.
2021-09-30 17:39:54 +02:00
manual_assert.rs
Fix manual_assert for #![no_std]
and Rust 2021
2021-11-01 15:47:33 +00:00
manual_async_fn.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
manual_map.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
manual_non_exhaustive.rs
manual_ok_or.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
manual_strip.rs
Introduce hir::ExprKind::Let - Take 2
2021-08-15 16:18:26 -03:00
manual_unwrap_or.rs
Some "parenthesis" and "parentheses" fixes
2021-10-17 12:04:01 +02:00
map_clone.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
map_err_ignore.rs
map_unit_fn.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
match_on_vec_items.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
match_result_ok.rs
Fix typo in example for match_result_ok
2021-10-13 12:12:46 -07:00
match_str_case_mismatch.rs
Fix match_str_case_mismatch
false positives
2021-10-23 02:03:15 -07:00
matches.rs
Fix manual_assert for #![no_std]
and Rust 2021
2021-11-01 15:47:33 +00:00
mem_forget.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
2021-09-08 16:31:47 +02:00
mem_replace.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
2021-09-08 16:31:47 +02:00
minmax.rs
misc.rs
Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup
2021-09-28 18:03:12 +01:00
missing_const_for_fn.rs
missing_doc.rs
Merge remote-tracking branch 'upstream/master' into rustup
2021-10-07 11:11:23 +02:00
missing_enforced_import_rename.rs
Do not pass hir::Crate to lints.
2021-09-30 17:39:54 +02:00
missing_inline.rs
Fix typo for INVALID_NULL_PTR_USAGE and MISSING_INLINE_IN_PUBLIC_ITEMS.
2021-10-21 14:33:43 +08:00
module_style.rs
Update rustfmt
2021-10-24 12:52:38 -05:00
modulo_arithmetic.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
multiple_crate_versions.rs
Do not pass hir::Crate to lints.
2021-09-30 17:39:54 +02:00
mut_key.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
mut_mut.rs
Fix FP in external macros for mut_mut
lint
2021-10-09 15:54:16 +02:00
mut_mutex_lock.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
mut_reference.rs
mutable_debug_assertion.rs
mutex_atomic.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
needless_arbitrary_self_type.rs
needless_bitwise_bool.rs
needless_bool.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
needless_borrow.rs
Update rustfmt
2021-10-24 12:52:38 -05:00
needless_borrowed_ref.rs
needless_continue.rs
Fix clippy with changed macro statement spans
2021-10-15 02:36:58 -05:00
needless_for_each.rs
needless_option_as_deref.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
needless_pass_by_value.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
needless_question_mark.rs
needless_update.rs
neg_cmp_op_on_partial_ord.rs
neg_multiply.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
new_without_default.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
no_effect.rs
Lint on underscore variable assignment
2021-10-20 00:39:28 +02:00
non_copy_const.rs
make unevaluated const substs optional
2021-08-26 11:00:30 +02:00
non_expressive_names.rs
Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup
2021-09-28 18:03:12 +01:00
non_octal_unix_permissions.rs
non_send_fields_in_send_ty.rs
Move non_send_fields_in_send_ty
to suspicious
2021-10-25 19:32:17 +02:00
nonstandard_macro_braces.rs
open_options.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
2021-09-08 16:31:47 +02:00
option_env_unwrap.rs
option_if_let_else.rs
Small fixes for missing backticks in doc
2021-11-02 09:09:22 +09:00
overflow_check_conditional.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
panic_in_result_fn.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
panic_unimplemented.rs
partialeq_ne_impl.rs
pass_by_ref_or_value.rs
rustc_target: move LayoutOf
to ty::layout
.
2021-09-02 01:17:14 +03:00
path_buf_push_overwrite.rs
pattern_type_mismatch.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
2021-09-08 16:31:47 +02:00
precedence.rs
ptr_eq.rs
Fix typos “an”→“a” and a few different ones that appeared in the same search
2021-08-22 18:15:49 +02:00
ptr_offset_with_cast.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
2021-09-08 16:31:47 +02:00
ptr.rs
Ignore references to type aliases in ptr_arg
2021-10-27 19:08:42 +01:00
question_mark.rs
Rename variable name in question_mark
2021-10-26 21:22:22 +08:00
ranges.rs
Fix dogfood
2021-09-02 12:39:54 +01:00
redundant_clone.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
redundant_closure_call.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
2021-09-08 16:31:47 +02:00
redundant_else.rs
redundant_field_names.rs
redundant_pub_crate.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
redundant_slicing.rs
redundant_static_lifetimes.rs
ref_option_ref.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
reference.rs
regex.rs
Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup
2021-09-28 18:03:12 +01:00
repeat_once.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
returns.rs
Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup
2021-09-28 18:03:12 +01:00
same_name_method.rs
Do not pass hir::Crate to lints.
2021-09-30 17:39:54 +02:00
self_assignment.rs
self_named_constructors.rs
add tcx
to fn walk
2021-08-26 11:00:30 +02:00
semicolon_if_nothing_returned.rs
Don't trigger semicolon_if_nothing_returned in expanded code
2021-10-08 16:16:56 +02:00
serde_api.rs
shadow.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
single_component_path_imports.rs
size_of_in_element_count.rs
slow_vector_initialization.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
stable_sort_primitive.rs
strings.rs
new lint: string-slice
2021-10-26 09:05:28 +02:00
strlen_on_c_strings.rs
suspicious_operation_groupings.rs
Remove redundant to_string
s
2021-10-15 12:44:49 -04:00
suspicious_trait_impl.rs
swap.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
tabs_in_doc_comments.rs
Keep a parent LocalDefId in SpanData.
2021-09-10 20:17:33 +02:00
temporary_assignment.rs
to_digit_is_some.rs
to_string_in_display.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
2021-09-08 16:31:47 +02:00
trailing_empty_array.rs
Rename lint
2021-10-19 14:33:43 -07:00
trait_bounds.rs
transmuting_null.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
try_err.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
undocumented_unsafe_blocks.rs
Fix ICE in undocumented_unsafe_blocks
2021-10-28 22:10:59 +09:00
undropped_manually_drops.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
2021-09-08 16:31:47 +02:00
unicode.rs
Move non_ascii_literal to restriction
2021-10-31 12:59:53 +00:00
uninit_vec.rs
Update lint description for new() and default()
2021-10-12 16:02:13 -04:00
unit_hash.rs
Add unit-hash lint
2021-10-27 06:32:37 -07:00
unit_return_expecting_ord.rs
cleanup: Span::new
-> Span::with_lo
2021-08-21 18:07:21 +03:00
unnamed_address.rs
unnecessary_self_imports.rs
unnecessary_sort_by.rs
unnecessary_sort_by
only warns if argument impl Ord
trait
2021-10-15 18:10:55 +08:00
unnecessary_wraps.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
unnested_or_patterns.rs
Introduce hir::ExprKind::Let - Take 2
2021-08-15 16:18:26 -03:00
unsafe_removed_from_name.rs
unused_async.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
2021-09-08 16:31:47 +02:00
unused_io_amount.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
2021-09-08 16:31:47 +02:00
unused_self.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
2021-09-08 16:31:47 +02:00
unused_unit.rs
unwrap_in_result.rs
Small fixes for missing backticks in doc
2021-11-02 09:09:22 +09:00
unwrap.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
upper_case_acronyms.rs
use_self.rs
add tcx
to fn walk
2021-08-26 11:00:30 +02:00
useless_conversion.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00
vec_init_then_push.rs
Address PR comments
2021-10-09 05:47:06 -04:00
vec_resize_to_zero.rs
vec.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
2021-09-08 16:31:47 +02:00
verbose_file_reads.rs
wildcard_dependencies.rs
Do not pass hir::Crate to lints.
2021-09-30 17:39:54 +02:00
wildcard_imports.rs
write.rs
cleanup: Span::new
-> Span::with_lo
2021-08-21 18:07:21 +03:00
zero_div_zero.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
2021-10-07 11:21:30 +02:00
zero_sized_map_values.rs
Make diangostic item names consistent
2021-10-02 19:38:19 -05:00