rust/clippy_lints/src
2020-06-08 16:00:33 -04:00
..
methods dogfood unnested_or_patterns 2020-06-07 21:16:03 +02:00
utils Auto merge of #5680 - ebroto:3792_let_return, r=Manishearth 2020-06-08 16:47:22 +00:00
approx_const.rs
arithmetic.rs
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 Add an Option<Span> argument to span_lint_and_help. 2020-04-18 18:28:29 +08:00
assign_ops.rs Fix some code examples in doc 2020-06-01 10:39:52 +02:00
atomic_ordering.rs Add an Option<Span> argument to span_lint_and_help. 2020-04-18 18:28:29 +08:00
attrs.rs Merge commit '7ea7cd165ad6705603852771bf82cc2fd6560db5' into clippyup2 2020-05-28 15:45:24 +02:00
await_holding_lock.rs Fix rebase fallout 2020-06-07 21:37:55 +02:00
bit_mask.rs
blacklisted_name.rs
blocks_in_if_conditions.rs Merge commit 'e214ea82ad0a751563acf67e1cd9279cf302db3a' into clippyup 2020-05-17 17:36:26 +02:00
booleans.rs
bytecount.rs Merge commit 'e214ea82ad0a751563acf67e1cd9279cf302db3a' into clippyup 2020-05-17 17:36:26 +02:00
cargo_common_metadata.rs Add error info when cargo metadata fails to run 2020-06-05 22:28:58 +02:00
checked_conversions.rs Fix false negative of checked_conversion lint 2020-06-03 09:04:24 +07:00
cognitive_complexity.rs rustup https://github.com/rust-lang/rust/pull/71215/ 2020-04-24 15:29:31 +02:00
collapsible_if.rs
comparison_chain.rs Merge commit 'e214ea82ad0a751563acf67e1cd9279cf302db3a' into clippyup 2020-05-17 17:36:26 +02:00
consts.rs Revert "Fix cases of match_wildcard_for_single_variants lint when it is spanned on Option" 2020-05-15 22:33:37 +03:00
copies.rs Cleanup: Use rustc's same_types instead of our same_tys 2020-06-06 11:50:59 +02:00
copy_iterator.rs Change note_span argument for span_lint_and_note. 2020-04-18 18:29:36 +08: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
deprecated_lints.rs
dereference.rs
derive.rs rustup https://github.com/rust-lang/rust/pull/71215/ 2020-04-24 15:29:31 +02:00
doc.rs rustup https://github.com/rust-lang/rust/pull/71215/ 2020-04-24 15:29:31 +02:00
double_comparison.rs
double_parens.rs Fix some code examples in doc 2020-06-01 10:39:52 +02:00
drop_bounds.rs Corrected doc PR fixes 2020-06-01 10:49:48 +02:00
drop_forget_ref.rs Change note_span argument for span_lint_and_note. 2020-04-18 18:29:36 +08:00
duration_subsec.rs Fix some code examples in doc 2020-06-01 10:39:52 +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 Formatting and naming 2020-04-19 20:38:07 +02:00
entry.rs More diagnostic items 2020-04-26 13:44:08 +02:00
enum_clike.rs
enum_variants.rs Fix some code examples in doc 2020-06-01 10:39:52 +02:00
eq_op.rs Fix some code examples in doc 2020-06-01 10:39:52 +02:00
erasing_op.rs
escape.rs Fix some code examples in doc 2020-06-01 10:39:52 +02:00
eta_reduction.rs Corrected doc PR fixes 2020-06-01 10:49:48 +02:00
eval_order_dependence.rs Corrected doc PR fixes 2020-06-01 10:49:48 +02:00
excessive_bools.rs Add an Option<Span> argument to span_lint_and_help. 2020-04-18 18:28:29 +08:00
exit.rs rustup https://github.com/rust-lang/rust/pull/71215/ 2020-04-24 15:29:31 +02:00
explicit_write.rs
fallible_impl_from.rs Corrected doc PR fixes 2020-06-01 10:49:48 +02:00
float_literal.rs Merge commit '7ea7cd165ad6705603852771bf82cc2fd6560db5' into clippyup2 2020-05-28 15:45:24 +02:00
floating_point_arithmetic.rs Fix more code examples 2020-06-01 10:39:52 +02:00
format.rs Fix more code examples 2020-06-01 10:39:52 +02:00
formatting.rs dogfood unnested_or_patterns 2020-06-07 21:16:03 +02:00
functions.rs Corrected doc PR fixes 2020-06-01 10:49:48 +02:00
future_not_send.rs Call skip_binder or no_bound_vars before self_ty 2020-06-01 12:18:57 -07:00
get_last_with_len.rs
identity_op.rs Merge commit 'e214ea82ad0a751563acf67e1cd9279cf302db3a' into clippyup 2020-05-17 17:36:26 +02:00
if_let_mutex.rs More diagnostic items 2020-04-26 13:44:08 +02:00
if_let_some_result.rs
if_not_else.rs Add an Option<Span> argument to span_lint_and_help. 2020-04-18 18:28:29 +08:00
implicit_return.rs
implicit_saturating_sub.rs Fix more code examples 2020-06-01 10:39:52 +02:00
indexing_slicing.rs Add an Option<Span> argument to span_lint_and_help. 2020-04-18 18:28:29 +08:00
infinite_iter.rs
inherent_impl.rs
inherent_to_string.rs cargo dev fmt 2020-04-26 13:44:08 +02:00
inline_fn_without_body.rs Fix clippy. 2020-05-11 21:26:39 +02:00
int_plus_one.rs Fix more code examples 2020-06-01 10:39:52 +02:00
integer_division.rs Fix more code examples 2020-06-01 10:39:52 +02:00
items_after_statements.rs Fix more code examples 2020-06-01 10:39:52 +02:00
large_const_arrays.rs
large_enum_variant.rs
large_stack_arrays.rs Add an Option<Span> argument to span_lint_and_help. 2020-04-18 18:28:29 +08:00
len_zero.rs len_zero: skip ranges if feature range_is_empty is not enabled 2020-05-28 00:58:48 +02:00
let_and_return.rs let_and_return: do not lint if last statement borrows 2020-06-07 20:53:38 +02:00
let_if_seq.rs Merge commit 'e214ea82ad0a751563acf67e1cd9279cf302db3a' into clippyup 2020-05-17 17:36:26 +02:00
let_underscore.rs Add an Option<Span> argument to span_lint_and_help. 2020-04-18 18:28:29 +08:00
lib.rs fix some of the review, rename, fmt, refactor 2020-06-08 16:00:33 -04:00
lifetimes.rs
literal_representation.rs Give more corrected code examples in doc 2020-06-01 10:39:52 +02:00
loops.rs Cleanup: Use rustc's same_types instead of our same_tys 2020-06-06 11:50:59 +02:00
macro_use.rs fix some of the review, rename, fmt, refactor 2020-06-08 16:00:33 -04:00
main_recursion.rs Add an Option<Span> argument to span_lint_and_help. 2020-04-18 18:28:29 +08:00
manual_async_fn.rs Merge commit '43a1777b89cf6791f9e20878b4e5e3ae907867a5' into clippyup 2020-05-11 20:23:47 +02:00
manual_non_exhaustive.rs Merge commit '43a1777b89cf6791f9e20878b4e5e3ae907867a5' into clippyup 2020-05-11 20:23:47 +02:00
map_clone.rs Merge commit 'e214ea82ad0a751563acf67e1cd9279cf302db3a' into clippyup 2020-05-17 17:36:26 +02:00
map_unit_fn.rs
match_on_vec_items.rs Merge commit '43a1777b89cf6791f9e20878b4e5e3ae907867a5' into clippyup 2020-05-11 20:23:47 +02:00
matches.rs match_wildcard_for_single_variants: remove empty line at start of lint example. 2020-06-04 03:34:22 +02:00
mem_discriminant.rs
mem_forget.rs
mem_replace.rs Add an Option<Span> argument to span_lint_and_help. 2020-04-18 18:28:29 +08:00
minmax.rs
misc_early.rs Give more corrected code examples in doc 2020-06-01 10:39:52 +02:00
misc.rs dogfood unnested_or_patterns 2020-06-07 21:16:03 +02:00
missing_const_for_fn.rs Merge commit '7ea7cd165ad6705603852771bf82cc2fd6560db5' into clippyup2 2020-05-28 15:45:24 +02:00
missing_doc.rs
missing_inline.rs Use OnceCell instead of Once 2020-05-22 13:31:02 -07:00
modulo_arithmetic.rs Revert "Fix cases of match_wildcard_for_single_variants lint when it is spanned on Option" 2020-05-15 22:33:37 +03:00
multiple_crate_versions.rs Add error info when cargo metadata fails to run 2020-06-05 22:28:58 +02:00
mut_key.rs
mut_mut.rs
mut_reference.rs Give more corrected code examples in doc 2020-06-01 10:39:52 +02:00
mutable_debug_assertion.rs
mutex_atomic.rs Give more corrected code examples in doc 2020-06-01 10:39:52 +02:00
needless_bool.rs Give more corrected code examples in doc 2020-06-01 10:39:52 +02:00
needless_borrow.rs Give more corrected code examples in doc 2020-06-01 10:39:52 +02:00
needless_borrowed_ref.rs
needless_continue.rs New lint: iter_next_slice 2020-06-01 03:08:51 +07:00
needless_pass_by_value.rs Give more corrected code examples in doc 2020-06-01 10:39:52 +02:00
needless_update.rs Give more corrected code examples in doc 2020-06-01 10:39:52 +02:00
neg_cmp_op_on_partial_ord.rs
neg_multiply.rs
new_without_default.rs Cleanup: Use rustc's same_types instead of our same_tys 2020-06-06 11:50:59 +02:00
no_effect.rs dogfood unnested_or_patterns 2020-06-07 21:16:03 +02:00
non_copy_const.rs
non_expressive_names.rs Merge commit '7ea7cd165ad6705603852771bf82cc2fd6560db5' into clippyup2 2020-05-28 15:45:24 +02:00
open_options.rs
option_env_unwrap.rs Add an Option<Span> argument to span_lint_and_help. 2020-04-18 18:28:29 +08:00
overflow_check_conditional.rs
panic_unimplemented.rs
partialeq_ne_impl.rs
path_buf_push_overwrite.rs
precedence.rs
ptr_offset_with_cast.rs
ptr.rs Give more corrected code examples in doc 2020-06-01 10:39:52 +02:00
question_mark.rs Give more corrected code examples in doc 2020-06-01 10:39:52 +02:00
ranges.rs Remove unnecessary lifetime parameter 2020-06-07 21:13:13 +02:00
redundant_clone.rs Update to rustc changes 2020-05-04 15:13:07 +02:00
redundant_field_names.rs Merge commit '7ea7cd165ad6705603852771bf82cc2fd6560db5' into clippyup2 2020-05-28 15:45:24 +02:00
redundant_pattern_matching.rs fix redundant_pattern_matching lint 2020-04-25 23:51:30 +03:00
redundant_pub_crate.rs rustup to https://github.com/rust-lang/rust/pull/70043 2020-04-26 10:12:14 +02:00
redundant_static_lifetimes.rs
reference.rs Give more corrected code examples in doc 2020-06-01 10:39:52 +02:00
regex.rs Give more corrected code examples in doc 2020-06-01 10:39:52 +02:00
returns.rs Make let_and_return a late lint pass 2020-06-07 20:53:38 +02:00
serde_api.rs
shadow.rs Give more corrected code examples in doc 2020-06-01 10:39:52 +02:00
single_component_path_imports.rs Give more corrected code examples in doc 2020-06-01 10:39:52 +02:00
slow_vector_initialization.rs Give more corrected code examples in doc 2020-06-01 10:39:52 +02:00
strings.rs Give more corrected code examples in doc 2020-06-01 10:39:52 +02:00
suspicious_trait_impl.rs dogfood unnested_or_patterns 2020-06-07 21:16:03 +02:00
swap.rs cargo dev fmt 2020-04-26 13:44:08 +02:00
tabs_in_doc_comments.rs
temporary_assignment.rs
to_digit_is_some.rs
trait_bounds.rs Add an Option<Span> argument to span_lint_and_help. 2020-04-18 18:28:29 +08:00
transmute.rs dogfood unnested_or_patterns 2020-06-07 21:16:03 +02:00
transmuting_null.rs
trivially_copy_pass_by_ref.rs Merge commit '7ea7cd165ad6705603852771bf82cc2fd6560db5' into clippyup2 2020-05-28 15:45:24 +02:00
try_err.rs
types.rs Cleanup: Use rustc's same_types instead of our same_tys 2020-06-06 11:50:59 +02:00
unicode.rs
unnamed_address.rs Add an Option<Span> argument to span_lint_and_help. 2020-04-18 18:28:29 +08:00
unnecessary_sort_by.rs Implement suggestions from phansch 2020-05-31 15:09:12 -07:00
unnested_or_patterns.rs Apply self-review by Centril 2020-06-07 21:16:05 +02:00
unsafe_removed_from_name.rs Fix clippy. 2020-05-11 21:26:39 +02:00
unused_io_amount.rs
unused_self.rs Add an Option<Span> argument to span_lint_and_help. 2020-04-18 18:28:29 +08:00
unwrap.rs dogfood unnested_or_patterns 2020-06-07 21:16:03 +02:00
use_self.rs
useless_conversion.rs Cleanup: Use rustc's same_types instead of our same_tys 2020-06-06 11:50:59 +02:00
vec_resize_to_zero.rs new lint: vec_resize_to_zero 2020-05-30 17:52:10 +02:00
vec.rs Add more corrected code for doc 2020-06-01 10:39:52 +02:00
verbose_file_reads.rs Add more corrected code for doc 2020-06-01 10:39:52 +02:00
wildcard_dependencies.rs Add error info when cargo metadata fails to run 2020-06-05 22:28:58 +02:00
wildcard_imports.rs Add more corrected code for doc 2020-06-01 10:39:52 +02:00
write.rs Merge remote-tracking branch 'upstream/master' into rustup 2020-06-07 02:17:49 +02:00
zero_div_zero.rs Add more corrected code for doc 2020-06-01 10:39:52 +02:00