rust/clippy_lints/src
Philipp Hansch 3d54e56ed4
Add workaround for hidden outer attribute
If the snippet is empty, it's an attribute that was inserted during macro
expansion and we want to ignore those, because they could come from external
sources that the user has no control over.
For some reason these attributes don't have any expansion info on them, so
we have to check it this way until there is a better way.
2018-01-29 10:03:53 +01:00
..
utils Rustup to rustc 1.25.0-nightly (7d6e5b9da 2018-01-27) 2018-01-28 16:28:48 +09: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 Fix lines that exceed max width manually 2017-11-05 04:59:21 +09:00
attrs.rs Add workaround for hidden outer attribute 2018-01-29 10:03:53 +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 Show wider and more accurate suggestion for const_static_lifetime 2018-01-16 20:46:44 +05:30
consts.rs Fix a bug in search_same + add a test case. 2017-11-29 21:42:58 +00:00
copies.rs Bugfix the bugfix. 2017-12-01 19:27:02 +00: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 Don't suggest changing explicit Clone impls if they have generics 2018-01-11 10:28:42 +01:00
doc.rs Fix a bug in search_same + add a test case. 2017-11-29 21:42:58 +00: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 Check for word beginning in stutter lint 2017-11-26 18:36:12 +01: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 Pass null borrow context to EUV 2017-10-19 09:27:58 -07: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 Fix lines that exceed max width manually 2017-11-05 04:59:21 +09:00
items_after_statements.rs Run nightly rustfmt 2017-09-05 12:39:27 +02:00
large_enum_variant.rs Run nightly rustfmt 2017-09-05 12:39:27 +02: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 Warn on empty lines after outer attributes 2018-01-29 10:03:52 +01:00
lifetimes.rs Universal impl traits get removed earlier now 2017-12-21 20:54:49 -08:00
literal_representation.rs Apply requested changes 2018-01-23 15:29:31 +01: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 Also suggest as_mut for match_as_ref 2017-12-20 10:39:48 +01:00
mem_forget.rs Cargo fmt 2017-11-05 04:55:56 +09:00
methods.rs Rustup to rustc 1.25.0-nightly (7d6e5b9da 2018-01-27) 2018-01-28 16:28:48 +09:00
minmax.rs Cargo fmt 2017-11-05 04:55:56 +09:00
misc.rs Small documentation formatting fix 2018-01-20 23:32:02 +01: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 Merge pull request #2202 from topecongiro/format 2017-11-06 08:35:52 +01: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
ranges.rs Cargo fmt 2017-11-05 04:55:56 +09: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
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 Add misaligned_transmute lint 2018-01-25 00:48:36 -08:00
types.rs Merge pull request #2381 from HMPerson1/remove_is_unit_expr 2018-01-19 09:14:04 +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