rust/clippy_lints/src
2020-09-02 23:30:40 +02:00
..
methods Update clippy_lints/src/methods/mod.rs 2020-08-28 09:33:05 +02:00
utils unit-arg - pr remarks 2020-09-02 23:30:40 +02:00
approx_const.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
arithmetic.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
as_conversions.rs Add an Option<Span> argument to span_lint_and_help. 2020-04-18 18:28:29 +08:00
assertions_on_constants.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
assign_ops.rs Introduce function for comparing expression values 2020-08-16 23:30:33 +02:00
atomic_ordering.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
attrs.rs Merge remote-tracking branch 'upstream/master' into rustup 2020-08-18 19:50:23 +02:00
await_holding_lock.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
bit_mask.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
blacklisted_name.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
blocks_in_if_conditions.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
booleans.rs Introduce function for comparing expression values 2020-08-16 23:30:33 +02:00
bytecount.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
cargo_common_metadata.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
checked_conversions.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
cognitive_complexity.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
collapsible_if.rs Merge commit '2ca58e7dda4a9eb142599638c59dc04d15961175' into clippyup 2020-07-14 14:59:59 +02:00
comparison_chain.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
consts.rs Miri: Renamed "undef" to "uninit" 2020-08-08 07:53:47 -06:00
copies.rs Introduce function for comparing expression values 2020-08-16 23:30:33 +02:00
copy_iterator.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
dbg_macro.rs Add an Option<Span> argument to span_lint_and_help. 2020-04-18 18:28:29 +08:00
default_trait_access.rs clippy: support QPath::LangItem 2020-08-17 13:55:05 +01:00
deprecated_lints.rs Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup 2020-07-26 21:07:07 +02:00
dereference.rs Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup 2020-07-26 21:07:07 +02:00
derive.rs merge as_local_hir_id with local_def_id_to_hir_id 2020-08-13 16:55:16 +02:00
doc.rs Improve needless_doctest_main by using the parser 2020-08-16 00:25:54 +02:00
double_comparison.rs Introduce function for comparing expression values 2020-08-16 23:30:33 +02:00
double_parens.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
drop_bounds.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
drop_forget_ref.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
duration_subsec.rs duration-subsec: make lint adhere to lint message convention 2020-08-11 16:31:02 +02:00
else_if_without_else.rs Add an Option<Span> argument to span_lint_and_help. 2020-04-18 18:28:29 +08:00
empty_enum.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
entry.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
enum_clike.rs enum-clike-unportable-variant: tweak message a bit (Clike -> C-like) 2020-08-11 16:35:09 +02:00
enum_variants.rs enum-variant-names: make lint adhere to lint message convention 2020-08-11 16:38:20 +02:00
eq_op.rs Introduce function for comparing expression values 2020-08-16 23:30:33 +02:00
erasing_op.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
escape.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
eta_reduction.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
eval_order_dependence.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
excessive_bools.rs Add an Option<Span> argument to span_lint_and_help. 2020-04-18 18:28:29 +08:00
exit.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
explicit_write.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
fallible_impl_from.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
float_equality_without_abs.rs Changed the location of the suggestion as well as the way the suggestion is assembled 2020-08-26 16:39:30 +02:00
float_literal.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
floating_point_arithmetic.rs Introduce function for comparing expression values 2020-08-16 23:30:33 +02:00
format.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
formatting.rs Merge commit '2ca58e7dda4a9eb142599638c59dc04d15961175' into clippyup 2020-07-14 14:59:59 +02:00
functions.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
future_not_send.rs introduce PredicateAtom 2020-07-27 21:07:37 +02:00
get_last_with_len.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
identity_op.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
if_let_mutex.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
if_let_some_result.rs if_let_some_result: make lint adhere to lint message convention 2020-08-11 16:40:45 +02:00
if_not_else.rs if_not_else: make lint adhere to lint message convention 2020-08-11 16:43:53 +02:00
implicit_return.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
implicit_saturating_sub.rs implicit-saturating-sub: make lint adhere to lint message convention 2020-08-11 15:22:59 +02:00
indexing_slicing.rs clippy: support QPath::LangItem 2020-08-17 13:55:05 +01:00
infinite_iter.rs clippy: support QPath::LangItem 2020-08-17 13:55:05 +01:00
inherent_impl.rs multiple_inherent_impl: make lint adhere to lint message convention 2020-08-11 15:28:51 +02:00
inherent_to_string.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
inline_fn_without_body.rs rustc_ast: (Nested)MetaItem::check_name -> has_name 2020-08-04 00:34:11 +03:00
int_plus_one.rs int_plus_one: make lint adhere to lint message convention 2020-08-11 15:15:26 +02:00
integer_division.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
items_after_statements.rs Merge commit 'ff0993c5e9162ddaea78e83d0f0161e68bd4ea73' into clippy 2020-06-09 14:36:01 +00:00
large_const_arrays.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
large_enum_variant.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
large_stack_arrays.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
len_zero.rs Re-enable len_zero for ranges now that is_empty is stable on them 2020-08-25 12:17:03 -07:00
let_if_seq.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
let_underscore.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
lib.rs Add new lint to prevent usage of unwrap in fns that return result 2020-08-26 16:31:49 -07:00
lifetimes.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
literal_representation.rs Merge commit '2ca58e7dda4a9eb142599638c59dc04d15961175' into clippyup 2020-07-14 14:59:59 +02:00
loops.rs Merge remote-tracking branch 'upstream/master' into rustup 2020-08-18 19:50:23 +02:00
macro_use.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
main_recursion.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
manual_async_fn.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
manual_non_exhaustive.rs Eliminate the SessionGlobals from librustc_ast. 2020-08-08 12:03:42 +10:00
map_clone.rs map_clone: make lint adhere to lint message convention 2020-08-11 15:15:26 +02:00
map_identity.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
map_unit_fn.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
match_on_vec_items.rs Merge remote-tracking branch 'upstream/master' into rustup 2020-08-18 19:50:23 +02:00
matches.rs Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup 2020-07-26 21:07:07 +02:00
mem_discriminant.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
mem_forget.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
mem_replace.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
minmax.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
misc_early.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
misc.rs Merge remote-tracking branch 'upstream/master' into rustup 2020-08-18 19:50:23 +02:00
missing_const_for_fn.rs Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup 2020-07-26 21:07:07 +02:00
missing_doc.rs rustc_ast: (Nested)MetaItem::check_name -> has_name 2020-08-04 00:34:11 +03:00
missing_inline.rs rustc_ast: (Nested)MetaItem::check_name -> has_name 2020-08-04 00:34:11 +03:00
modulo_arithmetic.rs Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup 2020-07-26 21:07:07 +02:00
multiple_crate_versions.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
mut_key.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
mut_mut.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
mut_reference.rs Fix typo in description of unnecessary_mut_passed 2020-08-16 14:43:34 -04:00
mutable_debug_assertion.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
mutex_atomic.rs mutex-atomic: make lint adhere to lint message convention 2020-08-11 15:15:26 +02:00
needless_arbitrary_self_type.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
needless_bool.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
needless_borrow.rs rustc_ast: (Nested)MetaItem::check_name -> has_name 2020-08-04 00:34:11 +03:00
needless_borrowed_ref.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
needless_continue.rs Merge commit 'ff0993c5e9162ddaea78e83d0f0161e68bd4ea73' into clippy 2020-06-09 14:36:01 +00:00
needless_pass_by_value.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
needless_update.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
neg_cmp_op_on_partial_ord.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
neg_multiply.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
new_without_default.rs merge as_local_hir_id with local_def_id_to_hir_id 2020-08-13 16:55:16 +02:00
no_effect.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
non_copy_const.rs Fix fp in borrow_interior_mutable_const 2020-08-23 22:49:08 +12:00
non_expressive_names.rs Eliminate the SessionGlobals from librustc_ast. 2020-08-08 12:03:42 +10:00
open_options.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
option_env_unwrap.rs Update Clippy for MethodCall changes 2020-06-10 17:30:11 -04:00
option_if_let_else.rs Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup 2020-07-26 21:07:07 +02:00
overflow_check_conditional.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
panic_unimplemented.rs Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup 2020-07-26 21:07:07 +02:00
partialeq_ne_impl.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
path_buf_push_overwrite.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
pattern_type_mismatch.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
precedence.rs Fix false positive in PRECEDENCE lint 2020-08-20 06:34:48 +02:00
ptr_offset_with_cast.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
ptr.rs Auto merge of #5885 - Ryan1729:patch-2, r=flip1995 2020-08-12 15:51:39 +00:00
question_mark.rs Introduce function for comparing expression values 2020-08-16 23:30:33 +02:00
ranges.rs clippy: support QPath::LangItem 2020-08-17 13:55:05 +01:00
redundant_clone.rs Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup 2020-07-26 21:07:07 +02:00
redundant_closure_call.rs Avoid period in lint message according to convention 2020-08-24 10:11:53 +09:00
redundant_field_names.rs Merge commit '7ea7cd165ad6705603852771bf82cc2fd6560db5' into clippyup2 2020-05-28 15:45:24 +02:00
redundant_pub_crate.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
redundant_static_lifetimes.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
reference.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
regex.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
repeat_once.rs Fix ICE in repeat_once lint 2020-08-23 12:05:34 +02:00
returns.rs Fix let_and_return bad suggestion 2020-08-23 07:50:59 +02:00
self_assignment.rs Warn about explicit self-assignment 2020-08-16 23:31:36 +02:00
serde_api.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
shadow.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
single_component_path_imports.rs rust_ast::ast => rustc_ast 2020-08-17 20:32:32 +00:00
slow_vector_initialization.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
stable_sort_primitive.rs stable_sort_primitive: print the type that is being sorted in the lint message 2020-08-24 20:06:43 +02:00
strings.rs rust_ast::ast => rustc_ast 2020-08-17 20:32:32 +00:00
suspicious_trait_impl.rs trailing comma 2020-08-12 10:33:16 -06:00
swap.rs Introduce function for comparing expression values 2020-08-16 23:30:33 +02:00
tabs_in_doc_comments.rs Add some comments for magic numbers + Add tests 2020-08-06 22:55:26 +03:00
temporary_assignment.rs Merge commit '2ca58e7dda4a9eb142599638c59dc04d15961175' into clippyup 2020-07-14 14:59:59 +02:00
to_digit_is_some.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
to_string_in_display.rs Fix FP in to_string_in_display 2020-08-27 23:37:47 +09:00
trait_bounds.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
transmute.rs no from/to bits in const: add tests cases for f64 2020-08-18 22:19:30 +02:00
transmuting_null.rs rust_ast::ast => rustc_ast 2020-08-17 20:32:32 +00:00
trivially_copy_pass_by_ref.rs Don't lint if it has always inline attribute 2020-08-22 12:58:35 +02:00
try_err.rs Merge remote-tracking branch 'upstream/master' into rustup 2020-08-18 19:50:23 +02:00
types.rs unit-arg - pr remarks 2020-09-02 23:30:40 +02:00
unicode.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
unit_return_expecting_ord.rs clippy 2020-07-27 21:17:28 +02:00
unnamed_address.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
unnecessary_sort_by.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
unnested_or_patterns.rs run cargo dev fmt 2020-08-22 00:59:42 +02:00
unsafe_removed_from_name.rs Avoid storing SymbolStr in a struct. 2020-07-17 08:28:22 +10:00
unused_io_amount.rs clippy: support QPath::LangItem 2020-08-17 13:55:05 +01:00
unused_self.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
unused_unit.rs early return removed 2020-08-16 00:24:27 +03:00
unwrap_in_result.rs Add new lint to prevent usage of unwrap in fns that return result 2020-08-26 16:31:49 -07:00
unwrap.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
use_self.rs if_not_else: make lint adhere to lint message convention 2020-08-11 16:43:53 +02:00
useless_conversion.rs Fix: keep parenthesis for suggestion in useless_conversion lint 2020-08-12 21:44:02 +02:00
vec_resize_to_zero.rs rust_ast::ast => rustc_ast 2020-08-17 20:32:32 +00:00
vec.rs appreciative too_large_for_stack in useless vec! 2020-08-14 14:29:16 +02:00
verbose_file_reads.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
wildcard_dependencies.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
wildcard_imports.rs Use more elegant way to check for prelude string 2020-08-22 14:22:02 +02:00
write.rs Fix the wrong use of snippet_with_applicability 2020-08-27 10:24:16 +12:00
zero_div_zero.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00