rust-clippy/clippy_lints/src
bors 5c1e30ab05 Auto merge of #4327 - phansch:doctests_perf, r=flip1995
Doctests: Enable running doc tests for perf lints

changelog: none

This should be possible to merge independently of #4325

cc #4319
2019-08-03 14:06:13 +00:00
..
methods Auto merge of #4327 - phansch:doctests_perf, r=flip1995 2019-08-03 14:06:13 +00:00
utils Auto merge of #4325 - phansch:doctests_complexity, r=flip1995 2019-08-03 13:24:07 +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 Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02: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 Doctests: Enable running doc tests for perf lints 2019-08-03 08:08:00 +02:00
cargo_common_metadata.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
checked_conversions.rs Update all the code to pass the updated use_self lint. 2019-07-31 08:50:43 +00:00
cognitive_complexity.rs Rename hir::map::local_def_id_from_hir_id to local_def_id 2019-07-06 10:52:51 +07:00
collapsible_if.rs Fix fallout from rust-lang/rust PR 60861. 2019-06-23 17:24:45 +02:00
consts.rs Update formatting 2019-08-01 07:09:57 +02:00
copies.rs Fix match_same_arms false negative 2019-07-02 08:18:55 +02:00
copy_iterator.rs Rename hir::map::local_def_id_from_hir_id to local_def_id 2019-07-06 10:52:51 +07: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 Various cosmetic improvements. 2019-03-10 18:06:28 +00:00
derive.rs Rename hir::map::local_def_id_from_hir_id to local_def_id 2019-07-06 10:52:51 +07:00
doc.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
double_comparison.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02:00
double_parens.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02: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 Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02:00
else_if_without_else.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
empty_enum.rs Rename hir::map::local_def_id_from_hir_id to local_def_id 2019-07-06 10:52:51 +07:00
entry.rs Doctests: Enable running doc tests for perf lints 2019-08-03 08:08:00 +02: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 Doctests: Enable running doc tests for perf lints 2019-08-03 08:08:00 +02:00
eta_reduction.rs redundant_closure_for_method_calls fixes: 2019-06-12 13:43:36 +02:00
eval_order_dependence.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02:00
excessive_precision.rs Update all the code to pass the updated use_self lint. 2019-07-31 08:50:43 +00:00
explicit_write.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02:00
fallible_impl_from.rs Rename hir::map::local_def_id_from_hir_id to local_def_id 2019-07-06 10:52:51 +07:00
format.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02:00
formatting.rs Simplify unsugar_if to just an if expr check 2019-06-24 09:51:53 +02:00
functions.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02: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 Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02:00
if_not_else.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
implicit_return.rs Improved imports 2019-07-17 20:44:09 +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
inherent_to_string.rs Corrections for PR review. 2019-07-17 08:58:36 +02:00
inline_fn_without_body.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
int_plus_one.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02: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 Rename hir::map::local_def_id_from_hir_id to local_def_id 2019-07-06 10:52:51 +07:00
len_zero.rs Add required negation in non_zero lint 2019-08-01 00:23:09 +09:00
let_if_seq.rs Fix warnings about unnecessary lifetime bounds 2019-06-20 01:36:23 +07:00
lib.rs Auto merge of #4327 - phansch:doctests_perf, r=flip1995 2019-08-03 14:06:13 +00:00
lifetimes.rs Auto merge of #4325 - phansch:doctests_complexity, r=flip1995 2019-08-03 13:24:07 +00:00
literal_representation.rs Update all the code to pass the updated use_self lint. 2019-07-31 08:50:43 +00:00
loops.rs Auto merge of #4327 - phansch:doctests_perf, r=flip1995 2019-08-03 14:06:13 +00:00
map_clone.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
map_unit_fn.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +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.rs Auto merge of #4327 - phansch:doctests_perf, r=flip1995 2019-08-03 14:06:13 +00:00
misc_early.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02:00
missing_const_for_fn.rs Rename hir::map::local_def_id_from_hir_id to local_def_id 2019-07-06 10:52:51 +07:00
missing_doc.rs Rustup to latest rustc master 2019-08-03 08:44:32 +02:00
missing_inline.rs Rustup to latest rustc master 2019-08-03 08:44:32 +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 Doctests: Enable running doc tests for perf lints 2019-08-03 08:08:00 +02:00
needless_bool.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02:00
needless_borrow.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
needless_borrowed_ref.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02:00
needless_continue.rs Pacify rustfmt. 2019-06-24 04:54:23 +02:00
needless_pass_by_value.rs rustup https://github.com/rust-lang/rust/pull/62964 2019-07-26 22:58:31 +02:00
needless_update.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02: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 Rename hir::map::local_def_id_from_hir_id to local_def_id 2019-07-06 10:52:51 +07:00
no_effect.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02:00
non_copy_const.rs Update all the code to pass the updated use_self lint. 2019-07-31 08:50:43 +00: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 Update formatting 2019-08-01 07:09:57 +02:00
overflow_check_conditional.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02:00
panic_unimplemented.rs rustup https://github.com/rust-lang/rust/pull/61995 2019-07-03 18:00:35 +02:00
partialeq_ne_impl.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +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.rs Rename hir::map::local_def_id_from_hir_id to local_def_id 2019-07-06 10:52:51 +07:00
ptr_offset_with_cast.rs Update all the code to pass the updated use_self lint. 2019-07-31 08:50:43 +00:00
question_mark.rs rustup https://github.com/rust-lang/rust/pull/61995 2019-07-03 18:00:35 +02:00
ranges.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02:00
redundant_clone.rs rustup https://github.com/rust-lang/rust/pull/62859 2019-07-24 02:20:36 +02:00
redundant_field_names.rs Use lint pass macros 2019-04-17 09:35:22 -07:00
redundant_pattern_matching.rs rustup https://github.com/rust-lang/rust/pull/61995 2019-07-03 18:00:35 +02:00
redundant_static_lifetimes.rs Update formatting 2019-08-01 07:09:57 +02:00
reference.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02:00
regex.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
replace_consts.rs Remove lint for ONCE_INIT 2019-07-06 12:34:32 +07:00
returns.rs Rustup macro expansion and resolution 2019-07-12 00:26:36 +07:00
serde_api.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
shadow.rs Fix breakage due to rust-lang/rust#61988 2019-07-06 19:06:49 +02:00
slow_vector_initialization.rs Doctests: Enable running doc tests for perf lints 2019-08-03 08:08:00 +02:00
strings.rs Extract semantic constant 2019-07-08 17:51:13 -03:00
suspicious_trait_impl.rs get_parent_node_by_hir_id -> get_parent_node 2019-06-25 14:33:51 -07:00
swap.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02:00
temporary_assignment.rs Rustup to rustc 1.36.0-nightly (13fde05b1 2019-05-03) 2019-05-03 22:28:34 -07:00
trait_bounds.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02:00
transmute.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02:00
transmuting_null.rs Prevent symbocalypse 2019-05-17 23:53:54 +02:00
trivially_copy_pass_by_ref.rs Doctests: Enable running doc tests for perf lints 2019-08-03 08:08:00 +02:00
try_err.rs Making try_err machine applicable 2019-06-24 21:28:46 -04:00
types.rs Auto merge of #4325 - phansch:doctests_complexity, r=flip1995 2019-08-03 13:24:07 +00: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 breakage due to rust-lang/rust#61988 2019-07-06 19:06:49 +02:00
unwrap.rs Fix doc tests 2019-08-01 15:14:06 +02:00
use_self.rs Update formatting 2019-08-01 07:09:57 +02: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 to latest rustc master 2019-08-03 08:44:32 +02:00
zero_div_zero.rs Doctests: Fix all complexity lint docs 2019-08-02 18:16:35 +02:00