rust-clippy/clippy_lints/src
bors b96c3ca811 Auto merge of #5259 - flip1995:lang_items, r=phansch
Use lang items instead of get_trait_def_id where possible

changelog: none
2020-03-03 11:46:21 +00:00
..
methods Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
utils Add path for display trait 2020-03-03 10:54:30 +01:00
approx_const.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
arithmetic.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
as_conversions.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
assertions_on_constants.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
assign_ops.rs Fix fallout 2020-02-21 11:14:18 +01:00
atomic_ordering.rs Fix fallout 2020-02-21 11:14:18 +01:00
attrs.rs Whitelist unused attribute for use items. 2020-03-02 10:22:05 +01:00
bit_mask.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
blacklisted_name.rs Fix fallout 2020-02-21 11:14:18 +01:00
block_in_if_condition.rs Fix fallout 2020-02-21 11:14:18 +01:00
booleans.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
bytecount.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
cargo_common_metadata.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
checked_conversions.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
cognitive_complexity.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
collapsible_if.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
comparison_chain.rs Fix fallout 2020-02-21 11:14:18 +01:00
consts.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
copies.rs Fix fallout 2020-02-21 11:14:18 +01:00
copy_iterator.rs Rename span_note_and_lint to span_lint_and_note 2020-01-27 11:26:42 +09:00
dbg_macro.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
default_trait_access.rs Fix fallout 2020-02-21 11:14:18 +01:00
deprecated_lints.rs Deprecate unused_label lint 2019-12-21 16:20:30 +01:00
derive.rs Fix fallout 2020-02-21 11:14:18 +01:00
doc.rs Use lang items instead of get_trait_def_id where possible 2020-03-03 10:54:30 +01:00
double_comparison.rs Fix fallout 2020-02-21 11:14:18 +01:00
double_parens.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
drop_bounds.rs Fix fallout 2020-02-21 11:14:18 +01:00
drop_forget_ref.rs Fix fallout 2020-02-21 11:14:18 +01:00
duration_subsec.rs Fix fallout 2020-02-21 11:14:18 +01:00
else_if_without_else.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
empty_enum.rs Fix fallout 2020-02-21 11:14:18 +01:00
entry.rs Fix fallout 2020-02-21 11:14:18 +01:00
enum_clike.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
enum_variants.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
eq_op.rs Fix fallout 2020-02-21 11:14:18 +01:00
erasing_op.rs Fix fallout 2020-02-21 11:14:18 +01:00
escape.rs Fix fallout 2020-02-21 11:14:18 +01:00
eta_reduction.rs Fix fallout 2020-02-21 11:14:18 +01:00
eval_order_dependence.rs Fix fallout 2020-02-21 11:14:18 +01:00
excessive_bools.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
exit.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
explicit_write.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
fallible_impl_from.rs Fix fallout 2020-02-21 11:14:18 +01:00
float_literal.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
floating_point_arithmetic.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
format.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
formatting.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
functions.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
get_last_with_len.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
identity_conversion.rs Fix fallout 2020-02-21 11:14:18 +01:00
identity_op.rs Fix fallout 2020-02-21 11:14:18 +01:00
if_let_some_result.rs Fix fallout 2020-02-21 11:14:18 +01:00
if_not_else.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
implicit_return.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
indexing_slicing.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
infinite_iter.rs Fix fallout 2020-02-21 11:14:18 +01:00
inherent_impl.rs Fix fallout 2020-02-21 11:14:18 +01:00
inherent_to_string.rs Add path for display trait 2020-03-03 10:54:30 +01:00
inline_fn_without_body.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
int_plus_one.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
integer_division.rs Rename span_help_and_lint to span_lint_and_help 2020-01-27 11:17:58 +09:00
items_after_statements.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
large_enum_variant.rs Fix fallout 2020-02-21 11:14:18 +01:00
large_stack_arrays.rs Fix fallout 2020-02-21 11:14:18 +01:00
len_zero.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
let_if_seq.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
let_underscore.rs Fix fallout 2020-02-21 11:14:18 +01:00
lib.rs Don't lint debug formatting in debug impl 2020-03-03 10:48:08 +01:00
lifetimes.rs Fix fallout 2020-02-21 11:14:18 +01:00
literal_representation.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
loops.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
main_recursion.rs Rename span_help_and_lint to span_lint_and_help 2020-01-27 11:17:58 +09:00
map_clone.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
map_unit_fn.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
matches.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
mem_discriminant.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
mem_forget.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
mem_replace.rs Rename span_help_and_lint to span_lint_and_help 2020-01-27 11:17:58 +09:00
minmax.rs Fix fallout 2020-02-21 11:14:18 +01:00
misc.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
misc_early.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
missing_const_for_fn.rs Prevent missing_const_for_fn on functions with const generic params 2020-02-21 19:56:44 -08:00
missing_doc.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
missing_inline.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
modulo_arithmetic.rs Fix fallout 2020-02-21 11:14:18 +01:00
multiple_crate_versions.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
mut_key.rs Avoid mut_key on types of unknown layout 2020-01-19 14:49:18 +01:00
mut_mut.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
mut_reference.rs Fix fallout 2020-02-21 11:14:18 +01:00
mutable_debug_assertion.rs Move debug_assertions_with_mut_call to nursery 2020-01-31 10:57:52 +01:00
mutex_atomic.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
needless_bool.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
needless_borrow.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
needless_borrowed_ref.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
needless_continue.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
needless_pass_by_value.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
needless_update.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
neg_cmp_op_on_partial_ord.rs Use lang items instead of get_trait_def_id where possible 2020-03-03 10:54:30 +01:00
neg_multiply.rs Fix fallout 2020-02-21 11:14:18 +01:00
new_without_default.rs Rustup to rust-lang/rust#68204 2020-01-18 14:39:18 +09:00
no_effect.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
non_copy_const.rs Rustup to rust-lang/rust#69469 2020-03-03 04:53:42 +09:00
non_expressive_names.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
open_options.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
option_env_unwrap.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
overflow_check_conditional.rs Fix fallout 2020-02-21 11:14:18 +01:00
panic_unimplemented.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
partialeq_ne_impl.rs Fix fallout 2020-02-21 11:14:18 +01:00
path_buf_push_overwrite.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
precedence.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
ptr.rs Fix fallout 2020-02-21 11:14:18 +01:00
ptr_offset_with_cast.rs Clean up imports 2020-02-18 22:37:45 +09:00
question_mark.rs Fix fallout 2020-02-21 11:14:18 +01:00
ranges.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
redundant_clone.rs Fix fallout 2020-02-21 11:14:18 +01:00
redundant_field_names.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
redundant_pattern_matching.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
redundant_static_lifetimes.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
reference.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
regex.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
replace_consts.rs Fix fallout 2020-02-21 11:14:18 +01:00
returns.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
serde_api.rs Fix fallout 2020-02-21 11:14:18 +01:00
shadow.rs Fix fallout 2020-02-21 11:14:18 +01:00
single_component_path_imports.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
slow_vector_initialization.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
strings.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
suspicious_trait_impl.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
swap.rs Fix fallout 2020-02-21 11:14:18 +01:00
tabs_in_doc_comments.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
temporary_assignment.rs Clean up imports 2020-02-18 22:37:45 +09:00
to_digit_is_some.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
trait_bounds.rs Fix fallout 2020-02-21 11:14:18 +01:00
transmute.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
transmuting_null.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
trivially_copy_pass_by_ref.rs Fix fallout 2020-02-21 11:14:18 +01:00
try_err.rs Fix fallout 2020-02-21 11:14:18 +01:00
types.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
unicode.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
unsafe_removed_from_name.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
unused_io_amount.rs Auto merge of #5027 - sinkuu:vectored_io, r=phansch 2020-01-24 06:44:09 +00:00
unused_self.rs Rename span_help_and_lint to span_lint_and_help 2020-01-27 11:17:58 +09:00
unwrap.rs Fix fallout 2020-02-21 11:14:18 +01:00
use_self.rs Fix fallout 2020-02-21 11:14:18 +01:00
vec.rs Fix fallout 2020-02-21 11:14:18 +01:00
wildcard_dependencies.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
wildcard_imports.rs Fix suggestion for weird formattings 2020-02-21 11:14:19 +01:00
write.rs Don't lint debug formatting in debug impl 2020-03-03 10:48:08 +01:00
zero_div_zero.rs Fix fallout 2020-02-21 11:14:18 +01:00