rust/clippy_lints/src
2021-03-11 10:37:58 +01:00
..
casts Move ptr_as_ptr to its own module 2021-03-09 20:18:25 +09:00
loops Merge remote-tracking branch 'upstream/master' into rustup 2021-03-11 10:37:58 +01:00
methods Merge remote-tracking branch 'upstream/master' into rustup 2021-03-11 10:37:58 +01:00
transmute Fix dogfood errors in clippy_lints 2021-03-05 11:10:29 +01:00
types Merge remote-tracking branch 'upstream/master' into rustup 2021-03-11 10:37:58 +01:00
utils Remove hir::Expr::attrs. 2021-03-09 19:27:58 +01:00
approx_const.rs
arithmetic.rs Rename HIR UnOp variants 2021-02-09 11:39:20 +03:00
as_conversions.rs Merge commit '95c0459217d1661edfa794c8bb122452b92fb485' into clippyup 2021-01-30 18:06:34 +01:00
asm_syntax.rs
assertions_on_constants.rs Rename HIR UnOp variants 2021-02-09 11:39:20 +03:00
assign_ops.rs update the lint messages and tests 2021-02-28 02:22:05 +01:00
async_yields_async.rs Use typeck_body 2021-03-05 10:36:20 -06:00
atomic_ordering.rs
attrs.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-03-11 10:37:58 +01:00
await_holding_invalid.rs Use typeck_body 2021-03-05 10:36:20 -06:00
bit_mask.rs Revert "Fixed for loop problem, corrected all occurences that got linted" 2021-02-06 16:44:57 +01:00
blacklisted_name.rs
blocks_in_if_conditions.rs Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup 2021-02-25 11:25:22 +01:00
booleans.rs Rename HIR UnOp variants 2021-02-09 11:39:20 +03:00
bytecount.rs Move naive_bytecount to pedantic 2021-03-02 14:34:47 +01:00
cargo_common_metadata.rs Merge commit '70c0f90453701e7d6d9b99aaa1fc6a765937b736' into clippyup 2021-02-11 15:04:38 +01:00
case_sensitive_file_extension_comparisons.rs Use diagnostic or language items instead of paths 2021-03-01 23:10:51 -05:00
checked_conversions.rs
cognitive_complexity.rs Do not store attrs in FnKind. 2021-03-09 19:09:33 +01:00
collapsible_if.rs Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup 2021-02-25 11:25:22 +01:00
collapsible_match.rs Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup 2021-02-25 11:25:22 +01:00
comparison_chain.rs update the lint messages and tests 2021-02-28 02:22:05 +01:00
consts.rs Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup 2021-02-25 11:25:22 +01:00
copies.rs
copy_iterator.rs Only store a LocalDefId in hir::Item. 2021-02-15 19:32:10 +01:00
create_dir.rs
dbg_macro.rs
default_numeric_fallback.rs Use TypeckResults::expr_ty instead of TyCtxt::type_of to fix "Not a type" ICE 2021-02-27 22:57:29 +09:00
default.rs
deprecated_lints.rs Merge commit '95c0459217d1661edfa794c8bb122452b92fb485' into clippyup 2021-01-30 18:06:34 +01:00
dereference.rs
derive.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-03-11 10:37:58 +01:00
disallowed_method.rs Merge commit '70c0f90453701e7d6d9b99aaa1fc6a765937b736' into clippyup 2021-02-11 15:04:38 +01:00
doc.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-03-11 10:37:58 +01:00
double_comparison.rs
double_parens.rs
drop_forget_ref.rs update the lint messages and tests 2021-02-28 02:22:05 +01:00
duration_subsec.rs
else_if_without_else.rs
empty_enum.rs Only store a LocalDefId in hir::Item. 2021-02-15 19:32:10 +01:00
entry.rs Add missing diagnostic item Symbols 2021-02-26 22:12:36 -06:00
enum_clike.rs Merge commit '95c0459217d1661edfa794c8bb122452b92fb485' into clippyup 2021-01-30 18:06:34 +01:00
enum_variants.rs
eq_op.rs Revert "Fixed for loop problem, corrected all occurences that got linted" 2021-02-06 16:44:57 +01:00
erasing_op.rs
escape.rs Only store a LocalDefId in hir::TraitItem. 2021-02-15 19:32:28 +01:00
eta_reduction.rs Improve the redundant_closure message 2021-03-08 13:16:53 -06:00
eval_order_dependence.rs Merge commit '70c0f90453701e7d6d9b99aaa1fc6a765937b736' into clippyup 2021-02-11 15:04:38 +01:00
excessive_bools.rs Merge commit '3e4179766bcecd712824da04356621b8df012ea4' into sync-from-clippy 2021-02-02 20:43:30 -08:00
exhaustive_items.rs Remove hir::Item::attrs. 2021-03-09 19:27:50 +01:00
exit.rs
explicit_write.rs
fallible_impl_from.rs update the lint messages and tests 2021-02-28 02:22:05 +01:00
float_equality_without_abs.rs
float_literal.rs Add version = "Two" to rustfmt.toml 2021-03-01 16:17:33 -06:00
floating_point_arithmetic.rs Rename HIR UnOp variants 2021-02-09 11:39:20 +03:00
format.rs useless_format: fix examples in the description 2021-03-05 12:11:31 -08:00
formatting.rs
from_over_into.rs Only store a LocalDefId in hir::Item. 2021-02-15 19:32:10 +01:00
from_str_radix_10.rs Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup 2021-02-25 11:25:22 +01:00
functions.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-03-11 10:37:58 +01:00
future_not_send.rs Do not store attrs in FnKind. 2021-03-09 19:09:33 +01:00
get_last_with_len.rs
identity_op.rs
if_let_mutex.rs
if_let_some_result.rs
if_not_else.rs
implicit_return.rs Avoid mir in implicit_return 2021-03-05 10:36:16 -06:00
implicit_saturating_sub.rs
inconsistent_struct_constructor.rs Use TypeckResults::expr_ty instead of TyCtxt::type_of to fix "Not a type" ICE 2021-02-27 22:57:29 +09:00
indexing_slicing.rs update the lint messages and tests 2021-02-28 02:22:05 +01:00
infinite_iter.rs Add version = "Two" to rustfmt.toml 2021-03-01 16:17:33 -06:00
inherent_impl.rs Only store a LocalDefId in hir::Item. 2021-02-15 19:32:10 +01:00
inherent_to_string.rs Add version = "Two" to rustfmt.toml 2021-03-01 16:17:33 -06:00
inline_fn_without_body.rs Remove hir::TraitItem::attrs. 2021-03-09 19:23:08 +01:00
int_plus_one.rs Merge commit '95c0459217d1661edfa794c8bb122452b92fb485' into clippyup 2021-01-30 18:06:34 +01:00
integer_division.rs update the lint messages and tests 2021-02-28 02:22:05 +01:00
items_after_statements.rs
large_const_arrays.rs
large_enum_variant.rs Only store a LocalDefId in hir::Item. 2021-02-15 19:32:10 +01:00
large_stack_arrays.rs
len_zero.rs len_without_is_empty will now consider multiple impl blocks 2021-03-07 09:40:18 -05:00
let_if_seq.rs Merge commit '70c0f90453701e7d6d9b99aaa1fc6a765937b736' into clippyup 2021-02-11 15:04:38 +01:00
let_underscore.rs Merge commit '70c0f90453701e7d6d9b99aaa1fc6a765937b736' into clippyup 2021-02-11 15:04:38 +01:00
lib.rs Move ptr_as_ptr to its own module 2021-03-09 20:18:25 +09:00
lifetimes.rs Don't assume lang items will exist. 2021-03-08 11:08:52 -05:00
literal_representation.rs Revert "Fixed for loop problem, corrected all occurences that got linted" 2021-02-06 16:44:57 +01:00
macro_use.rs Remove hir::Item::attrs. 2021-03-09 19:27:50 +01:00
main_recursion.rs Remove hir::Crate::attrs. 2021-03-09 19:22:55 +01:00
manual_async_fn.rs Use ItemId as a strongly typed index. 2021-02-15 19:24:58 +01:00
manual_map.rs Don't move yield or inline assembly into closure 2021-03-01 17:25:23 -05:00
manual_non_exhaustive.rs
manual_ok_or.rs Merge commit '70c0f90453701e7d6d9b99aaa1fc6a765937b736' into clippyup 2021-02-11 15:04:38 +01:00
manual_strip.rs Revert "Fixed for loop problem, corrected all occurences that got linted" 2021-02-06 16:44:57 +01:00
manual_unwrap_or.rs Merge commit '70c0f90453701e7d6d9b99aaa1fc6a765937b736' into clippyup 2021-02-11 15:04:38 +01:00
map_clone.rs Don't assume lang items will exist. 2021-03-08 11:08:52 -05:00
map_err_ignore.rs
map_identity.rs
map_unit_fn.rs Merge commit '95c0459217d1661edfa794c8bb122452b92fb485' into clippyup 2021-01-30 18:06:34 +01:00
match_on_vec_items.rs
matches.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-03-11 10:37:58 +01:00
mem_discriminant.rs
mem_forget.rs
mem_replace.rs
minmax.rs
misc_early.rs Use PrimTy in builtin type shadow lint 2021-02-03 08:32:23 -06:00
misc.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-03-11 10:37:58 +01:00
missing_const_for_fn.rs Do not store attrs in FnKind. 2021-03-09 19:09:33 +01:00
missing_doc.rs Remove hir::Item::attrs. 2021-03-09 19:27:50 +01:00
missing_inline.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-03-11 10:37:58 +01:00
modulo_arithmetic.rs
multiple_crate_versions.rs
mut_key.rs Only store a LocalDefId in hir::ImplItem. 2021-02-15 19:32:29 +01:00
mut_mut.rs Merge commit '70c0f90453701e7d6d9b99aaa1fc6a765937b736' into clippyup 2021-02-11 15:04:38 +01:00
mut_mutex_lock.rs
mut_reference.rs Revert "Fixed for loop problem, corrected all occurences that got linted" 2021-02-06 16:44:57 +01:00
mutable_debug_assertion.rs Add version = "Two" to rustfmt.toml 2021-03-01 16:17:33 -06:00
mutex_atomic.rs
needless_arbitrary_self_type.rs Revert "Fixed for loop problem, corrected all occurences that got linted" 2021-02-06 16:44:57 +01:00
needless_bool.rs Rename HIR UnOp variants 2021-02-09 11:39:20 +03:00
needless_borrow.rs Remove hir::Item::attrs. 2021-03-09 19:27:50 +01:00
needless_borrowed_ref.rs Improve needless_borrowed_ref docs 2021-02-25 20:16:44 -06:00
needless_continue.rs Add version = "Two" to rustfmt.toml 2021-03-01 16:17:33 -06:00
needless_pass_by_value.rs Do not store attrs in FnKind. 2021-03-09 19:09:33 +01:00
needless_question_mark.rs update the lint messages and tests 2021-02-28 02:22:05 +01:00
needless_update.rs
neg_cmp_op_on_partial_ord.rs Rename HIR UnOp variants 2021-02-09 11:39:20 +03:00
neg_multiply.rs Rename HIR UnOp variants 2021-02-09 11:39:20 +03:00
new_without_default.rs Only store a LocalDefId in hir::ImplItem. 2021-02-15 19:32:29 +01:00
no_effect.rs
non_copy_const.rs Only store a LocalDefId in hir::ImplItem. 2021-02-15 19:32:29 +01:00
non_expressive_names.rs Run rustfmt 2021-02-02 19:57:08 -08:00
open_options.rs Add version = "Two" to rustfmt.toml 2021-03-01 16:17:33 -06:00
option_env_unwrap.rs
option_if_let_else.rs Rename HIR UnOp variants 2021-02-09 11:39:20 +03:00
overflow_check_conditional.rs
panic_in_result_fn.rs Do not store attrs in FnKind. 2021-03-09 19:09:33 +01:00
panic_unimplemented.rs
partialeq_ne_impl.rs Remove hir::Item::attrs. 2021-03-09 19:27:50 +01:00
pass_by_ref_or_value.rs Do not store attrs in FnKind. 2021-03-09 19:09:33 +01:00
path_buf_push_overwrite.rs migrate paths to newly-added diagnostic items 2021-03-07 17:53:12 -06:00
pattern_type_mismatch.rs
precedence.rs
ptr_eq.rs
ptr_offset_with_cast.rs
ptr.rs migrate paths to newly-added diagnostic items 2021-03-07 17:53:12 -06:00
question_mark.rs Revert "Fixed for loop problem, corrected all occurences that got linted" 2021-02-06 16:44:57 +01:00
ranges.rs Merge commit '70c0f90453701e7d6d9b99aaa1fc6a765937b736' into clippyup 2021-02-11 15:04:38 +01:00
redundant_clone.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-03-11 10:37:58 +01:00
redundant_closure_call.rs Revert "Fixed for loop problem, corrected all occurences that got linted" 2021-02-06 16:44:57 +01:00
redundant_else.rs
redundant_field_names.rs
redundant_pub_crate.rs Only store a LocalDefId in hir::Item. 2021-02-15 19:32:10 +01:00
redundant_slicing.rs Merge commit '95c0459217d1661edfa794c8bb122452b92fb485' into clippyup 2021-01-30 18:06:34 +01:00
redundant_static_lifetimes.rs
ref_option_ref.rs
reference.rs Merge commit '95c0459217d1661edfa794c8bb122452b92fb485' into clippyup 2021-01-30 18:06:34 +01:00
regex.rs Merge commit '70c0f90453701e7d6d9b99aaa1fc6a765937b736' into clippyup 2021-02-11 15:04:38 +01:00
repeat_once.rs
returns.rs Remove hir::Expr::attrs. 2021-03-09 19:27:58 +01:00
self_assignment.rs
semicolon_if_nothing_returned.rs Merge commit '70c0f90453701e7d6d9b99aaa1fc6a765937b736' into clippyup 2021-02-11 15:04:38 +01:00
serde_api.rs Merge commit '95c0459217d1661edfa794c8bb122452b92fb485' into clippyup 2021-01-30 18:06:34 +01:00
shadow.rs Rename HIR UnOp variants 2021-02-09 11:39:20 +03:00
single_component_path_imports.rs
size_of_in_element_count.rs Merge commit '95c0459217d1661edfa794c8bb122452b92fb485' into clippyup 2021-01-30 18:06:34 +01:00
slow_vector_initialization.rs Revert "Fixed for loop problem, corrected all occurences that got linted" 2021-02-06 16:44:57 +01:00
stable_sort_primitive.rs Merge commit '95c0459217d1661edfa794c8bb122452b92fb485' into clippyup 2021-01-30 18:06:34 +01:00
strings.rs
suspicious_operation_groupings.rs change some lint messages and remove old entries from the ignorelist 2021-02-28 02:22:05 +01:00
suspicious_trait_impl.rs Rename HIR UnOp variants 2021-02-09 11:39:20 +03:00
swap.rs Add missing diagnostic item Symbols 2021-02-26 22:12:36 -06:00
tabs_in_doc_comments.rs
temporary_assignment.rs
to_digit_is_some.rs
to_string_in_display.rs migrate paths to newly-added diagnostic items 2021-03-07 17:53:12 -06:00
trait_bounds.rs
transmuting_null.rs update the lint messages and tests 2021-02-28 02:22:05 +01:00
try_err.rs
undropped_manually_drops.rs
unicode.rs Revert "Fixed for loop problem, corrected all occurences that got linted" 2021-02-06 16:44:57 +01:00
unit_return_expecting_ord.rs
unnamed_address.rs
unnecessary_sort_by.rs Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup 2021-02-25 11:25:22 +01:00
unnecessary_wraps.rs Do not store attrs in FnKind. 2021-03-09 19:09:33 +01:00
unnested_or_patterns.rs
unsafe_removed_from_name.rs
unused_io_amount.rs
unused_self.rs Auto merge of #81993 - flip1995:clippyup, r=Manishearth 2021-02-17 22:37:42 +00:00
unused_unit.rs
unwrap_in_result.rs Only store a LocalDefId in hir::ImplItem. 2021-02-15 19:32:29 +01:00
unwrap.rs Rename HIR UnOp variants 2021-02-09 11:39:20 +03:00
upper_case_acronyms.rs Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup 2021-02-25 11:25:22 +01:00
use_self.rs Fix dogfood errors in clippy_lints 2021-03-05 11:10:29 +01:00
useless_conversion.rs
vec_init_then_push.rs Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup 2021-02-25 11:25:22 +01:00
vec_resize_to_zero.rs
vec.rs Merge commit '70c0f90453701e7d6d9b99aaa1fc6a765937b736' into clippyup 2021-02-11 15:04:38 +01:00
verbose_file_reads.rs Revert "Fixed for loop problem, corrected all occurences that got linted" 2021-02-06 16:44:57 +01:00
wildcard_dependencies.rs
wildcard_imports.rs Only store a LocalDefId in hir::Item. 2021-02-15 19:32:10 +01:00
write.rs Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup 2021-02-25 11:25:22 +01:00
zero_div_zero.rs update the lint messages and tests 2021-02-28 02:22:05 +01:00
zero_sized_map_values.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-03-11 10:37:58 +01:00