rust/clippy_lints/src
bors 47ada9ae07 Auto merge of #4243 - mikerite:fix-4058, r=flip1995
Fix `never_loop` false positive

Closes #4058

changelog: none
2019-07-01 08:10:25 +00:00
..
methods get_parent_node_by_hir_id -> get_parent_node 2019-06-25 14:33:51 -07:00
utils Auto merge of #4222 - jfrikker:try_err, r=flip1995 2019-07-01 07:41:33 +00:00
approx_const.rs Dogfood 2019-05-18 01:42:15 +02:00
arithmetic.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
assertions_on_constants.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
assign_ops.rs Fix warnings about unnecessary lifetime bounds 2019-06-20 01:36:23 +07:00
attrs.rs Typos and minor grammar corrections 2019-06-12 20:07:10 +02:00
bit_mask.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
blacklisted_name.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
block_in_if_condition.rs Fix warnings about unnecessary lifetime bounds 2019-06-20 01:36:23 +07:00
booleans.rs Fix breakage due to rust-lang/rust#61968 2019-06-21 08:14:07 +02:00
bytecount.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
cargo_common_metadata.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
checked_conversions.rs Removed symbols again. 2019-05-18 10:54:03 +02:00
cognitive_complexity.rs Fix warnings about unnecessary lifetime bounds 2019-06-20 01:36:23 +07:00
collapsible_if.rs Fix fallout from rust-lang/rust PR 60861. 2019-06-23 17:24:45 +02:00
consts.rs Remove needless lifetimes 2019-06-21 14:41:19 +02:00
copies.rs Add the common case search 2019-05-21 13:08:19 +02:00
copy_iterator.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
dbg_macro.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
default_trait_access.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
deprecated_lints.rs
derive.rs rustup https://github.com/rust-lang/rust/pull/61836/ 2019-06-18 11:15:47 +02:00
doc.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
double_comparison.rs Fix breakage due to rust-lang/rust#61968 2019-06-21 08:14:07 +02:00
double_parens.rs Rename in_macro to in_macro_or_desugar 2019-05-11 21:39:02 -07:00
drop_bounds.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
drop_forget_ref.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
duration_subsec.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
else_if_without_else.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
empty_enum.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
entry.rs Fix warnings about unnecessary lifetime bounds 2019-06-20 01:36:23 +07:00
enum_clike.rs Rustup to rustc 1.36.0-nightly (2268d9923 2019-05-26) 2019-05-26 16:47:26 +02:00
enum_glob_use.rs rustup https://github.com/rust-lang/rust/pull/61836/ 2019-06-18 11:15:47 +02:00
enum_variants.rs Rustup to rustc 1.36.0-nightly (dbfe70dfc 2019-05-22) 2019-05-21 21:58:27 -07:00
eq_op.rs Rename in_macro to in_macro_or_desugar 2019-05-11 21:39:02 -07:00
erasing_op.rs Rename in_macro to in_macro_or_desugar 2019-05-11 21:39:02 -07:00
escape.rs Remove a hir_to_node_id 2019-06-25 14:34:47 -07:00
eta_reduction.rs redundant_closure_for_method_calls fixes: 2019-06-12 13:43:36 +02:00
eval_order_dependence.rs find_by_hir_id -> find 2019-06-25 14:34:07 -07:00
excessive_precision.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
explicit_write.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
fallible_impl_from.rs Fix warnings about unnecessary lifetime bounds 2019-06-20 01:36:23 +07:00
format.rs Remove wrong lifetime from LintContext 2019-06-12 10:28:52 +02:00
formatting.rs Simplify unsugar_if to just an if expr check 2019-06-24 09:51:53 +02:00
functions.rs fmt 2019-06-25 14:41:10 -07:00
get_last_with_len.rs Formatting inside if_chain! macro 2019-05-21 10:45:38 +02:00
identity_conversion.rs Fix dogfood test failures. 2019-06-24 04:00:05 +02:00
identity_op.rs Rename in_macro to in_macro_or_desugar 2019-05-11 21:39:02 -07:00
if_not_else.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
implicit_return.rs Fix implicit_return docs 2019-06-12 10:51:14 +02:00
indexing_slicing.rs Typos and minor grammar corrections 2019-06-12 20:07:10 +02:00
infallible_destructuring_match.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
infinite_iter.rs Dogfood 2019-05-18 01:42:15 +02:00
inherent_impl.rs Fix breakage due to rust-lang/rust#61968 2019-06-21 08:14:07 +02:00
inline_fn_without_body.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
int_plus_one.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
integer_division.rs Downgrade integer_division to restriction 2019-06-15 00:17:04 -07:00
invalid_ref.rs update tests and fix lints in clippy 2019-06-21 14:17:59 +02:00
items_after_statements.rs Rename in_macro to in_macro_or_desugar 2019-05-11 21:39:02 -07:00
large_enum_variant.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
len_zero.rs Rename "Associated*" to "Assoc*" 2019-05-25 20:31:34 +08:00
let_if_seq.rs Fix warnings about unnecessary lifetime bounds 2019-06-20 01:36:23 +07:00
lib.rs Adding try_err lint 2019-06-22 16:37:05 -04:00
lifetimes.rs Fix warnings about unnecessary lifetime bounds 2019-06-20 01:36:23 +07:00
literal_representation.rs Add macro check for unreadable_literal lint 2019-05-15 14:57:56 +02:00
loops.rs Fix never_loop false positive 2019-07-01 07:22:04 +02:00
map_clone.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
map_unit_fn.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
matches.rs Fix warnings about unnecessary lifetime bounds 2019-06-20 01:36:23 +07:00
mem_discriminant.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
mem_forget.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
mem_replace.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
minmax.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
misc_early.rs Rustup to rustc 1.36.0-nightly (fe0a415b4 2019-04-23) 2019-04-23 08:25:45 -07:00
misc.rs rustup https://github.com/rust-lang/rust/pull/61836/ 2019-06-18 11:15:47 +02:00
missing_const_for_fn.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
missing_doc.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
missing_inline.rs Remove another unnecessary lifetime 2019-06-21 14:41:52 +02:00
multiple_crate_versions.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
mut_mut.rs Fix warnings about unnecessary lifetime bounds 2019-06-20 01:36:23 +07:00
mut_reference.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
mutex_atomic.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
needless_bool.rs get_parent_node_by_hir_id -> get_parent_node 2019-06-25 14:33:51 -07:00
needless_borrow.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
needless_borrowed_ref.rs Rename in_macro to in_macro_or_desugar 2019-05-11 21:39:02 -07:00
needless_continue.rs Pacify rustfmt. 2019-06-24 04:54:23 +02:00
needless_pass_by_value.rs fmt 2019-06-25 14:41:10 -07:00
needless_update.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
neg_cmp_op_on_partial_ord.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
neg_multiply.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
new_without_default.rs Refactor: Replace NodeSet with HirIdSet 2019-06-18 19:45:01 +02:00
no_effect.rs Rename in_macro to in_macro_or_desugar 2019-05-11 21:39:02 -07:00
non_copy_const.rs find_by_hir_id -> find 2019-06-25 14:34:07 -07:00
non_expressive_names.rs update tests and fix lints in clippy 2019-06-21 14:17:59 +02:00
ok_if_let.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
open_options.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
overflow_check_conditional.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
panic_unimplemented.rs Make use of new outer_expn_info() function 2019-06-01 16:25:51 +07:00
partialeq_ne_impl.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
path_buf_push_overwrite.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
precedence.rs Rename in_macro to in_macro_or_desugar 2019-05-11 21:39:02 -07:00
ptr_offset_with_cast.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
ptr.rs find_by_hir_id -> find 2019-06-25 14:34:07 -07:00
question_mark.rs Fix breakage due to rust-lang/rust#61968 2019-06-21 08:14:07 +02:00
ranges.rs Make use of new outer_expn_info() function 2019-06-01 16:25:51 +07:00
redundant_clone.rs rustup https://github.com/rust-lang/rust/pull/60928 2019-05-29 00:41:34 +02:00
redundant_field_names.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
redundant_pattern_matching.rs update tests and fix lints in clippy 2019-06-21 14:17:59 +02:00
redundant_static_lifetimes.rs Rename REDUNDANT_STATIC_LIFETIME to REDUNDANT_STATIC_LIFETIMES. 2019-06-14 10:45:03 +02:00
reference.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
regex.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
replace_consts.rs Dogfood 2019-05-18 01:42:15 +02:00
returns.rs more idiomatic code 2019-06-21 14:46:34 +02:00
serde_api.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
shadow.rs Fix warnings about unnecessary lifetime bounds 2019-06-20 01:36:23 +07:00
slow_vector_initialization.rs Fix warnings about unnecessary lifetime bounds 2019-06-20 01:36:23 +07:00
strings.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
suspicious_trait_impl.rs get_parent_node_by_hir_id -> get_parent_node 2019-06-25 14:33:51 -07:00
swap.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
temporary_assignment.rs Rustup to rustc 1.36.0-nightly (13fde05b1 2019-05-03) 2019-05-03 22:28:34 -07:00
transmute.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
transmuting_null.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
trivially_copy_pass_by_ref.rs fmt 2019-06-25 14:41:10 -07:00
try_err.rs Making try_err machine applicable 2019-06-24 21:28:46 -04:00
types.rs find_by_hir_id -> find 2019-06-25 14:34:07 -07:00
unicode.rs Fix tests and make other ascii lints auto-fixable 2019-05-20 16:02:50 +02:00
unsafe_removed_from_name.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
unused_io_amount.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
unused_label.rs Fix warnings about unnecessary lifetime bounds 2019-06-20 01:36:23 +07:00
unwrap.rs Fix warnings about unnecessary lifetime bounds 2019-06-20 01:36:23 +07:00
use_self.rs Fix warnings about unnecessary lifetime bounds 2019-06-20 01:36:23 +07:00
vec.rs Make use of new outer_expn_info() function 2019-06-01 16:25:51 +07:00
wildcard_dependencies.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
write.rs rustup https://github.com/rust-lang/rust/pull/61758/files 2019-06-12 10:28:58 +02:00
zero_div_zero.rs Use lint pass macros 2019-04-17 09:35:22 -07:00