rust-clippy/clippy_lints/src
Alex Butler 42000c6cf9
Fix #2494 add suggestion for unreadable_literal
Add `rustc --explain E0308` line to relevant tests
2018-03-01 15:26:39 +00:00
..
utils Remove explicit visit_qpath method 2018-02-24 19:34:51 +01:00
approx_const.rs Fixed some code in clippy to pass the new, removed formatting changes. 2017-10-20 10:17:41 -04:00
arithmetic.rs Run nightly rustfmt 2017-09-05 12:39:27 +02:00
array_indexing.rs Cargo fmt 2017-11-05 04:55:56 +09:00
assign_ops.rs Additionally suggest the semantic equal variant 2018-01-30 17:45:35 +01:00
attrs.rs Lint multiline attributes properly 2018-02-21 21:29:05 +01:00
bit_mask.rs mechanically swap if_let_chain -> if_chain 2017-10-23 15:18:02 -04:00
blacklisted_name.rs Run nightly rustfmt 2017-09-05 12:39:27 +02:00
block_in_if_condition.rs Cargo fmt 2017-11-05 04:55:56 +09:00
booleans.rs Fix #2245 2017-11-29 16:03:05 +01:00
bytecount.rs Cargo fmt 2017-11-05 04:55:56 +09:00
collapsible_if.rs &Self 2017-11-03 17:56:17 +09:00
const_static_lifetime.rs don't suggest eliding 'static on associated consts 2018-02-06 12:22:34 -06:00
consts.rs Fix ICE comparing ExprRange 2018-02-06 01:06:32 +01:00
copies.rs Fixes #2426 (if_same_then_else false positive) 2018-02-09 15:31:55 +01:00
cyclomatic_complexity.rs Run nightly rustfmt 2017-09-05 12:39:27 +02:00
deprecated_lints.rs Deprecate should_assert_eq lint 2017-10-19 23:42:04 -05:00
derive.rs Rustup to rustc 1.26.0-nightly (322d7f7b9 2018-02-25) 2018-02-26 11:57:14 -08:00
doc.rs Fix a bug in search_same + add a test case. 2017-11-29 21:42:58 +00:00
double_comparison.rs Add double comparions lint 2018-01-30 10:35:35 +09:00
double_parens.rs Run nightly rustfmt 2017-09-05 12:39:27 +02:00
drop_forget_ref.rs Cargo fmt 2017-11-05 04:55:56 +09:00
else_if_without_else.rs add new lint else_if_without_else 2018-01-14 22:53:00 -06:00
empty_enum.rs Run nightly rustfmt 2017-09-05 12:39:27 +02:00
entry.rs Cargo fmt 2017-11-05 04:55:56 +09:00
enum_clike.rs Cargo fmt 2017-11-05 04:55:56 +09:00
enum_glob_use.rs Add known false positive for enum_glob_use 2018-01-25 12:55:58 +05:30
enum_variants.rs Update Rust to 063deba92e 2018-02-23 09:01:26 -08:00
eq_op.rs Move in_macro check to end of expression since usual case is not inside macro 2017-12-22 10:54:52 -08:00
erasing_op.rs Clarify message for erasing_op lint 2017-10-15 10:32:47 +03:00
escape.rs Remove rarely used type_size helper function 2018-02-09 15:24:31 +01:00
eta_reduction.rs Run nightly rustfmt 2017-09-05 12:39:27 +02:00
eval_order_dependence.rs mechanically swap if_let_chain -> if_chain 2017-10-23 15:18:02 -04:00
explicit_write.rs mechanically swap if_let_chain -> if_chain 2017-10-23 15:18:02 -04:00
fallible_impl_from.rs Fix #2188 2017-11-29 17:20:00 +01:00
format.rs Cargo fmt 2017-11-05 04:55:56 +09:00
formatting.rs Cargo fmt 2017-11-05 04:55:56 +09:00
functions.rs Rustup 2018-01-15 12:08:17 +01:00
identity_conversion.rs Add identity_conversion lint (fixes #1051) 2017-10-04 22:16:16 +09:00
identity_op.rs Cargo fmt 2017-11-05 04:55:56 +09:00
if_let_redundant_pattern_matching.rs Run nightly rustfmt 2017-09-05 12:39:27 +02:00
if_not_else.rs Cargo fmt 2017-11-05 04:55:56 +09:00
infinite_iter.rs Run nightly rustfmt 2017-09-05 12:39:27 +02:00
inline_fn_without_body.rs Suggest removing inline attributes 2018-01-18 20:02:42 +11:00
int_plus_one.rs Cargo fmt 2017-11-05 04:55:56 +09:00
invalid_ref.rs Allow empty lines in lint doc examples 2018-02-01 23:21:36 +01:00
items_after_statements.rs Run nightly rustfmt 2017-09-05 12:39:27 +02:00
large_enum_variant.rs Remove rarely used type_size helper function 2018-02-09 15:24:31 +01:00
len_zero.rs Merge pull request #2202 from topecongiro/format 2017-11-06 08:35:52 +01:00
let_if_seq.rs Cargo fmt 2017-11-05 04:55:56 +09:00
lib.rs Bump to 0.0.187 2018-02-26 12:32:18 -08:00
lifetimes.rs Universal impl traits get removed earlier now 2017-12-21 20:54:49 -08:00
literal_representation.rs Fix #2494 add suggestion for unreadable_literal 2018-03-01 15:26:39 +00:00
loops.rs Fix compilation 2018-01-27 15:03:17 +02:00
map_clone.rs Merge branch 'master' of github.com:Manishearth/rust-clippy into fold_any 2018-01-19 12:10:24 +01:00
matches.rs Fix suggestions for ref matches 2018-02-04 13:41:54 +01:00
mem_forget.rs Cargo fmt 2017-11-05 04:55:56 +09:00
methods.rs Do not pass Span by reference 2018-02-22 10:11:20 -05:00
minmax.rs Cargo fmt 2017-11-05 04:55:56 +09:00
misc.rs oops 2018-02-26 12:31:29 -08:00
misc_early.rs Rustup to rustc 1.25.0-nightly (a0dcecff9 2018-01-24) 2018-01-25 13:14:04 +05:30
missing_doc.rs Rustup 2018-01-15 12:08:17 +01:00
mut_mut.rs Run nightly rustfmt 2017-09-05 12:39:27 +02:00
mut_reference.rs Run nightly rustfmt 2017-09-05 12:39:27 +02:00
mutex_atomic.rs Implement nightly libsyntax changes 2018-01-07 05:58:53 +02:00
needless_bool.rs Run nightly rustfmt 2017-09-05 12:39:27 +02:00
needless_borrow.rs Cargo fmt 2017-11-05 04:55:56 +09:00
needless_borrowed_ref.rs Fix typos in README, documentation 2018-01-01 13:55:40 -08:00
needless_continue.rs Cargo fmt 2017-11-05 04:55:56 +09:00
needless_pass_by_value.rs Only suggest implementing Copy if it can actually be done 2018-01-18 14:27:47 +01:00
needless_update.rs Version bump 2018-01-10 09:50:58 +01:00
neg_multiply.rs mechanically swap if_let_chain -> if_chain 2017-10-23 15:18:02 -04:00
new_without_default.rs Update to handle GenericParam 2017-12-21 20:54:49 -08:00
no_effect.rs Cargo fmt 2017-11-05 04:55:56 +09:00
non_expressive_names.rs Fix non_expressive_names 2018-02-02 01:54:07 -05:00
ok_if_let.rs Cargo fmt 2017-11-05 04:55:56 +09:00
open_options.rs Cargo fmt 2017-11-05 04:55:56 +09:00
overflow_check_conditional.rs mechanically swap if_let_chain -> if_chain 2017-10-23 15:18:02 -04:00
panic.rs Cargo fmt 2017-11-05 04:55:56 +09:00
partialeq_ne_impl.rs mechanically swap if_let_chain -> if_chain 2017-10-23 15:18:02 -04:00
precedence.rs Add macro check to precedence lint 2018-01-16 15:52:16 +01:00
print.rs Add auto-fixable println!() suggestion 2018-01-04 12:46:26 +01:00
ptr.rs Cargo fmt 2017-11-05 04:55:56 +09:00
question_mark.rs Add question mark operator 2018-01-31 00:10:35 +01:00
ranges.rs Cargo fmt 2017-11-05 04:55:56 +09:00
redundant_field_names.rs Suggestion fixed, simplified lint logic. 2018-02-12 11:26:00 +01:00
reference.rs Run nightly rustfmt 2017-09-05 12:39:27 +02:00
regex.rs let invalid_regex point to the right place for raw strings 2018-01-23 16:52:14 +01:00
replace_consts.rs Add lint to replace consts with const fns 2018-01-11 12:03:46 -05:00
returns.rs mechanically swap if_let_chain -> if_chain 2017-10-23 15:18:02 -04:00
serde_api.rs Run nightly rustfmt 2017-09-05 12:39:27 +02:00
shadow.rs Cargo fmt 2017-11-05 04:55:56 +09:00
strings.rs Fix broken tests. 2017-11-06 23:26:44 +00:00
suspicious_trait_impl.rs Lint for suspicious implementations of arithmetic std::ops traits 2018-02-13 15:40:17 +01:00
swap.rs Fix lines that exceed max width manually 2017-11-05 04:59:21 +09:00
temporary_assignment.rs Run nightly rustfmt 2017-09-05 12:39:27 +02:00
transmute.rs Cleanup calls to layout_of 2018-02-05 11:28:09 +01:00
types.rs Remove rarely used type_size helper function 2018-02-09 15:24:31 +01:00
unicode.rs Run nightly rustfmt 2017-09-05 12:39:27 +02:00
unsafe_removed_from_name.rs Rustup to rustc 1.24.0-nightly (bb42071f6 2017-12-01) 2017-12-02 18:23:32 +09:00
unused_io_amount.rs Run nightly rustfmt 2017-09-05 12:39:27 +02:00
unused_label.rs Fix compilation 2018-01-27 15:03:17 +02:00
use_self.rs Cargo fmt 2017-11-05 04:55:56 +09:00
vec.rs Fix lines that exceed max width manually 2017-11-05 04:59:21 +09:00
zero_div_zero.rs Fix lines that exceed max width manually 2017-11-05 04:59:21 +09:00