..
attrs
fix indentation in docs
2024-08-13 13:13:02 +02:00
cargo
Remove HashSets from Conf
2024-08-12 20:24:47 +00:00
casts
Remove more instances of snippet_opt.
2024-08-11 18:07:53 -04:00
doc
Remove HashSets from Conf
2024-08-12 20:24:47 +00:00
functions
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
loops
Require ConstEvalCtxt to be constructed.
2024-08-08 10:37:10 -04:00
matches
Rename get_source_text to get_source_range. Add new get_source_text which returns a displayable string-like type.
2024-08-09 09:27:00 -04:00
methods
fix code blocks in doc comments inconsistently using 3 or 4 spaces of indentation
2024-08-12 18:42:13 +02:00
misc_early
Make restriction lint's use span_lint_and_then (t -> w)
2024-07-27 13:45:02 +02:00
operators
fix indentation in docs
2024-08-13 13:13:02 +02:00
transmute
Auto merge of #13200 - Jarcho:constant_no_typeck, r=Alexendoo
2024-08-08 14:42:42 +00:00
types
Merge remote-tracking branch 'upstream/master' into rustup
2024-08-08 18:54:43 +02:00
unit_types
Merge commit ' 9725c4a162' into clippy-subtree-update
2024-04-04 19:52:55 +02:00
utils
Replace the metadata collector with tests
2024-08-12 20:24:46 +00:00
absolute_paths.rs
Refactor absolute_paths:
2024-08-09 22:08:29 -04:00
almost_complete_range.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
approx_const.rs
Replace rustc_semver with rustc_session::RustcVersion
2024-08-09 13:00:24 +00:00
arc_with_non_send_sync.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
as_conversions.rs
Migrating restriction lints to span_lint_and_then (a -> d)
2024-08-03 10:18:05 +02:00
asm_syntax.rs
Make restriction lint's use span_lint_and_then (i -> l)
2024-07-22 19:47:29 +02:00
assertions_on_constants.rs
Require ConstEvalCtxt to be constructed.
2024-08-08 10:37:10 -04:00
assertions_on_result_states.rs
Migrating restriction lints to span_lint_and_then (e -> i)
2024-08-03 10:18:15 +02:00
assigning_clones.rs
Disable assigning_clones for tests
2024-08-16 16:21:03 +05:00
async_yields_async.rs
Deal with additional wrapping of async closure body in clippy
2024-01-16 17:12:10 +00:00
await_holding_invalid.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
blocks_in_conditions.rs
Merge commit ' 3e5a02b13b' into clippy-subtree-update
2024-06-13 12:30:48 +02:00
bool_assert_comparison.rs
Split out IntoIterator and non-Iterator constructors for AliasTy/AliasTerm/TraitRef/projection
2024-06-24 11:28:21 -04:00
bool_to_int_with_if.rs
Replace in_constant with is_in_const_context. Use only the state in LateContext to avoid walking the HIR tree.
2024-08-07 09:57:27 -04:00
booleans.rs
Limit number of nonminimal_bool ops
2024-08-03 12:07:42 +00:00
borrow_deref_ref.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
box_default.rs
Merge commit ' 20b085d500' into clippy-subtree-update
2024-05-02 17:26:44 +02:00
byte_char_slices.rs
Merge commit ' b794b8e08c' into clippy-subtree-update
2024-07-11 15:44:03 +02:00
cfg_not_test.rs
Merge commit ' b794b8e08c' into clippy-subtree-update
2024-07-11 15:44:03 +02:00
checked_conversions.rs
Replace in_constant with is_in_const_context. Use only the state in LateContext to avoid walking the HIR tree.
2024-08-07 09:57:27 -04:00
cognitive_complexity.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
collapsible_if.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
collection_is_never_read.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
comparison_chain.rs
Replace in_constant with is_in_const_context. Use only the state in LateContext to avoid walking the HIR tree.
2024-08-07 09:57:27 -04:00
copies.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
copy_iterator.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
crate_in_macro_def.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
create_dir.rs
Migrating restriction lints to span_lint_and_then (a -> d)
2024-08-03 10:18:05 +02:00
dbg_macro.rs
Migrating restriction lints to span_lint_and_then (a -> d)
2024-08-03 10:18:05 +02:00
declared_lints.rs
Replace the metadata collector with tests
2024-08-12 20:24:46 +00:00
default.rs
Avoid ref when using format!
2024-07-19 16:10:24 -04:00
default_constructed_unit_structs.rs
Merge commit ' 9725c4a162' into clippy-subtree-update
2024-04-04 19:52:55 +02:00
default_instead_of_iter_empty.rs
Merge commit ' 9725c4a162' into clippy-subtree-update
2024-04-04 19:52:55 +02:00
default_numeric_fallback.rs
Migrating restriction lints to span_lint_and_then (a -> d)
2024-08-03 10:18:05 +02:00
default_union_representation.rs
Migrating restriction lints to span_lint_and_then (a -> d)
2024-08-03 10:18:05 +02:00
deprecated_lints.rs
Store deprecated lints as an array of tuples.
2024-08-05 09:15:55 -04:00
dereference.rs
Remove duplicated peel_middle_ty_refs
2024-07-17 12:51:08 +07:00
derivable_impls.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
derive.rs
Merge commit ' c9139bd546' into clippy-subtree-update
2024-05-30 10:49:05 +02:00
disallowed_macros.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
disallowed_methods.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
disallowed_names.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
disallowed_script_idents.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
disallowed_types.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
double_parens.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
drop_forget_ref.rs
Make restriction lint's use span_lint_and_then (m -> m)
2024-07-22 19:47:34 +02:00
duplicate_mod.rs
Merge commit ' 9725c4a162' into clippy-subtree-update
2024-04-04 19:52:55 +02:00
else_if_without_else.rs
Migrating restriction lints to span_lint_and_then (e -> i)
2024-08-03 10:18:15 +02:00
empty_drop.rs
Migrating restriction lints to span_lint_and_then (e -> i)
2024-08-03 10:18:15 +02:00
empty_enum.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
empty_with_brackets.rs
chore: remove duplicate words
2024-07-02 11:25:31 +08:00
endian_bytes.rs
Migrating restriction lints to span_lint_and_then (a -> d)
2024-08-03 10:18:05 +02:00
entry.rs
Merge commit ' 9725c4a162' into clippy-subtree-update
2024-04-04 19:52:55 +02:00
enum_clike.rs
Don't store LateContext in ConstEvalLateContext
2024-08-08 10:34:53 -04:00
equatable_if_let.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
error_impl_error.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
escape.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
eta_reduction.rs
Check for 'static lifetime in return type
2024-07-26 00:27:40 +07:00
excessive_bools.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
excessive_nesting.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
exhaustive_items.rs
Migrating restriction lints to span_lint_and_then (e -> i)
2024-08-03 10:18:15 +02:00
exit.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
explicit_write.rs
Merge commit ' 2efebd2f0c' into clippy-subtree-update
2024-05-21 10:39:30 -07:00
extra_unused_type_parameters.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
fallible_impl_from.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
field_scoped_visibility_modifiers.rs
Migrating restriction lints to span_lint_and_then (e -> i)
2024-08-03 10:18:15 +02:00
float_literal.rs
Auto merge of #13144 - xFrednet:07797-restriction-and-then-what, r=y21
2024-07-26 07:44:21 +00:00
floating_point_arithmetic.rs
Auto merge of #13200 - Jarcho:constant_no_typeck, r=Alexendoo
2024-08-08 14:42:42 +00:00
format.rs
Remove find_format_arg_expr AST fallback
2024-08-10 10:50:47 +00:00
format_args.rs
Remove find_format_arg_expr AST fallback
2024-08-10 10:50:47 +00:00
format_impl.rs
Remove find_format_arg_expr AST fallback
2024-08-10 10:50:47 +00:00
format_push_string.rs
Migrating restriction lints to span_lint_and_then (e -> i)
2024-08-03 10:18:15 +02:00
formatting.rs
Merge commit ' 9725c4a162' into clippy-subtree-update
2024-04-04 19:52:55 +02:00
four_forward_slashes.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
from_over_into.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
from_raw_with_void_ptr.rs
Always use ty:: qualifier for TyKind enum variants.
2024-04-16 16:29:13 +10:00
from_str_radix_10.rs
Fix code snippet in from_str_radix_10 docs
2024-08-16 15:28:42 +00:00
future_not_send.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
if_let_mutex.rs
inline a bunch of if lets into a single let chain
2024-07-28 18:28:24 +02:00
if_not_else.rs
Require ConstEvalCtxt to be constructed.
2024-08-08 10:37:10 -04:00
if_then_some_else_none.rs
Replace in_constant with is_in_const_context. Use only the state in LateContext to avoid walking the HIR tree.
2024-08-07 09:57:27 -04:00
ignored_unit_patterns.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
impl_hash_with_borrow_str_and_bytes.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
implicit_hasher.rs
implicit_hasher: use a single multipart suggestion
2024-07-29 17:56:27 +00:00
implicit_return.rs
Migrating restriction lints to span_lint_and_then (e -> i)
2024-08-03 10:18:15 +02:00
implicit_saturating_add.rs
Require ConstEvalCtxt to be constructed.
2024-08-08 10:37:10 -04:00
implicit_saturating_sub.rs
Pack the u128 in LitKind::Int
2024-01-19 20:10:39 -08:00
implied_bounds_in_impls.rs
Make queries more explicit
2024-06-27 12:03:57 -04:00
incompatible_msrv.rs
Replace rustc_semver with rustc_session::RustcVersion
2024-08-09 13:00:24 +00:00
inconsistent_struct_constructor.rs
use fulfill_or_allowed over is_lint_allowed.
2024-08-09 12:18:56 +03:30
index_refutable_slice.rs
Require ConstEvalCtxt to be constructed.
2024-08-08 10:37:10 -04:00
indexing_slicing.rs
Require ConstEvalCtxt to be constructed.
2024-08-08 10:37:10 -04:00
ineffective_open_options.rs
Merge commit ' ac4c2094a6' into clippy-subtree-sync
2023-12-28 19:33:07 +01:00
infinite_iter.rs
Remove some miscellaneous #[allow]s
2024-07-29 19:57:39 +00:00
inherent_impl.rs
Auto merge of #13144 - xFrednet:07797-restriction-and-then-what, r=y21
2024-07-26 07:44:21 +00:00
inherent_to_string.rs
Merge commit ' b794b8e08c' into clippy-subtree-update
2024-07-11 15:44:03 +02:00
init_numbered_fields.rs
Merge commit ' b794b8e08c' into clippy-subtree-update
2024-07-11 15:44:03 +02:00
inline_fn_without_body.rs
Merge commit ' b794b8e08c' into clippy-subtree-update
2024-07-11 15:44:03 +02:00
instant_subtraction.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
int_plus_one.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
integer_division_remainder_used.rs
Merge commit ' 3e5a02b13b' into clippy-subtree-update
2024-06-13 12:30:48 +02:00
invalid_upcast_comparisons.rs
Require ConstEvalCtxt to be constructed.
2024-08-08 10:37:10 -04:00
item_name_repetitions.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
items_after_statements.rs
Merge commit ' b794b8e08c' into clippy-subtree-update
2024-07-11 15:44:03 +02:00
items_after_test_module.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
iter_not_returning_iterator.rs
Merge commit ' b794b8e08c' into clippy-subtree-update
2024-07-11 15:44:03 +02:00
iter_over_hash_type.rs
Merge commit ' c9139bd546' into clippy-subtree-update
2024-05-30 10:49:05 +02:00
iter_without_into_iter.rs
Merge commit ' b794b8e08c' into clippy-subtree-update
2024-07-11 15:44:03 +02:00
large_const_arrays.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
large_enum_variant.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
large_futures.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
large_include_file.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
large_stack_arrays.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
large_stack_frames.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
legacy_numeric_constants.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
len_zero.rs
Merge commit ' b794b8e08c' into clippy-subtree-update
2024-07-11 15:44:03 +02:00
let_if_seq.rs
Merge commit ' b794b8e08c' into clippy-subtree-update
2024-07-11 15:44:03 +02:00
let_underscore.rs
Make restriction lint's use span_lint_and_then (i -> l)
2024-07-22 19:47:29 +02:00
let_with_type_underscore.rs
Merge commit ' b794b8e08c' into clippy-subtree-update
2024-07-11 15:44:03 +02:00
lib.rs
Replace the metadata collector with tests
2024-08-12 20:24:46 +00:00
lifetimes.rs
Auto merge of #121676 - Bryanskiy:polarity, r=petrochenkov
2024-07-26 20:14:16 +00:00
lines_filter_map_ok.rs
Merge commit ' 9725c4a162' into clippy-subtree-update
2024-04-04 19:52:55 +02:00
literal_representation.rs
Migrating restriction lints to span_lint_and_then (e -> i)
2024-08-03 10:18:15 +02:00
macro_metavars_in_unsafe.rs
recognize metavariables in tail expressions
2024-08-05 12:02:08 +02:00
macro_use.rs
Remove unused structs in clippy
2024-03-10 23:33:00 +08:00
main_recursion.rs
Merge commit ' 9725c4a162' into clippy-subtree-update
2024-04-04 19:52:55 +02:00
manual_assert.rs
Simplify use crate::rustc_foo::bar occurrences.
2024-05-08 16:57:31 +10:00
manual_async_fn.rs
Remove more instances of snippet_opt.
2024-08-11 18:07:53 -04:00
manual_bits.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
manual_clamp.rs
Auto merge of #13200 - Jarcho:constant_no_typeck, r=Alexendoo
2024-08-08 14:42:42 +00:00
manual_float_methods.rs
Require ConstEvalCtxt to be constructed.
2024-08-08 10:37:10 -04:00
manual_hash_one.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
manual_is_ascii_check.rs
Replace in_constant with is_in_const_context. Use only the state in LateContext to avoid walking the HIR tree.
2024-08-07 09:57:27 -04:00
manual_let_else.rs
Merge commit ' b794b8e08c' into clippy-subtree-update
2024-07-11 15:44:03 +02:00
manual_main_separator_str.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
manual_non_exhaustive.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
manual_range_patterns.rs
Merge commit ' b794b8e08c' into clippy-subtree-update
2024-07-11 15:44:03 +02:00
manual_rem_euclid.rs
Auto merge of #13200 - Jarcho:constant_no_typeck, r=Alexendoo
2024-08-08 14:42:42 +00:00
manual_retain.rs
Replace rustc_semver with rustc_session::RustcVersion
2024-08-09 13:00:24 +00:00
manual_rotate.rs
Require ConstEvalCtxt to be constructed.
2024-08-08 10:37:10 -04:00
manual_slice_size_calculation.rs
Replace in_constant with is_in_const_context. Use only the state in LateContext to avoid walking the HIR tree.
2024-08-07 09:57:27 -04:00
manual_string_new.rs
Merge commit ' a859e5cc1c' into clippyup
2023-12-16 14:12:50 +01:00
manual_strip.rs
Require ConstEvalCtxt to be constructed.
2024-08-08 10:37:10 -04:00
manual_unwrap_or_default.rs
Replace in_constant with is_in_const_context. Use only the state in LateContext to avoid walking the HIR tree.
2024-08-07 09:57:27 -04:00
map_unit_fn.rs
Merge commit ' b794b8e08c' into clippy-subtree-update
2024-07-11 15:44:03 +02:00
match_result_ok.rs
Merge commit ' 9725c4a162' into clippy-subtree-update
2024-04-04 19:52:55 +02:00
mem_replace.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
min_ident_chars.rs
Remove HashSets from Conf
2024-08-12 20:24:47 +00:00
minmax.rs
Require ConstEvalCtxt to be constructed.
2024-08-08 10:37:10 -04:00
misc.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
mismatching_type_param_order.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
missing_assert_message.rs
Make restriction lint's use span_lint_and_then (m -> m)
2024-07-22 19:47:34 +02:00
missing_asserts_for_indexing.rs
Merge commit ' 3e5a02b13b' into clippy-subtree-update
2024-06-13 12:30:48 +02:00
missing_const_for_fn.rs
chore: fix some comments
2024-07-26 17:51:22 +08:00
missing_const_for_thread_local.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
missing_doc.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
missing_enforced_import_rename.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
missing_fields_in_debug.rs
Merge commit ' 3e5a02b13b' into clippy-subtree-update
2024-06-13 12:30:48 +02:00
missing_inline.rs
Merge commit ' c9139bd546' into clippy-subtree-update
2024-05-30 10:49:05 +02:00
missing_trait_methods.rs
missing_trait_methods: lint methods in definition order
2024-07-26 11:25:06 +00:00
mixed_read_write_in_expression.rs
Make restriction lint's use span_lint_and_then (m -> m)
2024-07-22 19:47:34 +02:00
module_style.rs
Make restriction lint's use span_lint_and_then (m -> m)
2024-07-22 19:47:34 +02:00
multi_assignments.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
multiple_bound_locations.rs
Merge commit ' 68a799aea9' into clippy-subtree-update
2024-06-27 18:56:04 +02:00
multiple_unsafe_ops_per_block.rs
Merge commit ' 3e5a02b13b' into clippy-subtree-update
2024-06-13 12:30:48 +02:00
mut_key.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
mut_mut.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
mut_reference.rs
Fix clippy
2024-04-15 18:48:12 -04:00
mutable_debug_assertion.rs
Merge commit ' 9725c4a162' into clippy-subtree-update
2024-04-04 19:52:55 +02:00
mutex_atomic.rs
Merge commit ' c9139bd546' into clippy-subtree-update
2024-05-30 10:49:05 +02:00
needless_arbitrary_self_type.rs
Rename BindingAnnotation to BindingMode
2024-04-17 09:34:39 -04:00
needless_bool.rs
Merge commit ' 3e5a02b13b' into clippy-subtree-update
2024-06-13 12:30:48 +02:00
needless_borrowed_ref.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
needless_borrows_for_generic_args.rs
Auto merge of #12892 - meithecatte:needless-borrows-mutrefs, r=xFrednet
2024-07-25 18:48:27 +00:00
needless_continue.rs
Merge commit ' 2efebd2f0c' into clippy-subtree-update
2024-05-21 10:39:30 -07:00
needless_else.rs
Merge commit ' 68a799aea9' into clippy-subtree-update
2024-06-27 18:56:04 +02:00
needless_for_each.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
needless_if.rs
Merge commit ' 68a799aea9' into clippy-subtree-update
2024-06-27 18:56:04 +02:00
needless_late_init.rs
Merge commit ' 3e5a02b13b' into clippy-subtree-update
2024-06-13 12:30:48 +02:00
needless_maybe_sized.rs
Make queries more explicit
2024-06-27 12:03:57 -04:00
needless_parens_on_range_literals.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
needless_pass_by_ref_mut.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
needless_pass_by_value.rs
Remove more instances of snippet_opt.
2024-08-11 18:07:53 -04:00
needless_question_mark.rs
Merge commit ' 9725c4a162' into clippy-subtree-update
2024-04-04 19:52:55 +02:00
needless_update.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
neg_cmp_op_on_partial_ord.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
neg_multiply.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
new_without_default.rs
Rename Unsafe to Safety
2024-05-17 18:33:37 -03:00
no_effect.rs
Auto merge of #13130 - nyurik:ref-lints, r=Centri3
2024-07-26 17:21:30 +00:00
no_mangle_with_rust_abi.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
non_canonical_impls.rs
Merge commit ' 3e5a02b13b' into clippy-subtree-update
2024-06-13 12:30:48 +02:00
non_copy_const.rs
Replace in_constant with is_in_const_context. Use only the state in LateContext to avoid walking the HIR tree.
2024-08-07 09:57:27 -04:00
non_expressive_names.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
non_octal_unix_permissions.rs
Merge commit ' 68a799aea9' into clippy-subtree-update
2024-06-27 18:56:04 +02:00
non_send_fields_in_send_ty.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
nonstandard_macro_braces.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
octal_escapes.rs
Merge commit ' 68a799aea9' into clippy-subtree-update
2024-06-27 18:56:04 +02:00
only_used_in_recursion.rs
Remove some miscellaneous #[allow]s
2024-07-29 19:57:39 +00:00
option_env_unwrap.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
option_if_let_else.rs
Replace in_constant with is_in_const_context. Use only the state in LateContext to avoid walking the HIR tree.
2024-08-07 09:57:27 -04:00
panic_in_result_fn.rs
Merge commit ' 3e5a02b13b' into clippy-subtree-update
2024-06-13 12:30:48 +02:00
panic_unimplemented.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
panicking_overflow_checks.rs
Merge commit ' b794b8e08c' into clippy-subtree-update
2024-07-11 15:44:03 +02:00
partial_pub_fields.rs
Make restriction lint's use span_lint_and_then (n -> p)
2024-07-26 09:41:38 +02:00
partialeq_ne_impl.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
partialeq_to_none.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
pass_by_ref_or_value.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
pathbuf_init_then_push.rs
Remove more instances of snippet_opt.
2024-08-11 18:07:53 -04:00
pattern_type_mismatch.rs
Make restriction lint's use span_lint_and_then (n -> p)
2024-07-26 09:41:38 +02:00
permissions_set_readonly_false.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
precedence.rs
Remove unary neg from clippy::precedence lint
2024-07-11 00:46:47 +02:00
ptr.rs
Remove more instances of snippet_opt.
2024-08-11 18:07:53 -04:00
ptr_offset_with_cast.rs
Remove more instances of snippet_opt.
2024-08-11 18:07:53 -04:00
pub_underscore_fields.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
pub_use.rs
Make restriction lint's use span_lint_and_then (n -> p)
2024-07-26 09:41:38 +02:00
question_mark.rs
Replace in_constant with is_in_const_context. Use only the state in LateContext to avoid walking the HIR tree.
2024-08-07 09:57:27 -04:00
question_mark_used.rs
Make restriction lint's use span_lint_and_then (q -> s)
2024-07-27 13:45:00 +02:00
ranges.rs
Auto merge of #13200 - Jarcho:constant_no_typeck, r=Alexendoo
2024-08-08 14:42:42 +00:00
raw_strings.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
rc_clone_in_vec_init.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
read_zero_byte_vec.rs
Rename hir::Local into hir::LetStmt
2024-03-22 20:36:21 +01:00
redundant_async_block.rs
Merge commit ' 3e5a02b13b' into clippy-subtree-update
2024-06-13 12:30:48 +02:00
redundant_clone.rs
Remove more instances of snippet_opt.
2024-08-11 18:07:53 -04:00
redundant_closure_call.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
redundant_else.rs
Add MatchKind member to the Match expr for pretty printing & fmt
2024-03-06 00:35:19 -05:00
redundant_field_names.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
redundant_locals.rs
Rename BindingAnnotation to BindingMode
2024-04-17 09:34:39 -04:00
redundant_pub_crate.rs
Merge commit ' 9725c4a162' into clippy-subtree-update
2024-04-04 19:52:55 +02:00
redundant_slicing.rs
Migrating restriction lints to span_lint_and_then (a -> d)
2024-08-03 10:18:05 +02:00
redundant_static_lifetimes.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
redundant_type_annotations.rs
Merge commit ' c9139bd546' into clippy-subtree-update
2024-05-30 10:49:05 +02:00
ref_option_ref.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
ref_patterns.rs
Make restriction lint's use span_lint_and_then (q -> s)
2024-07-27 13:45:00 +02:00
reference.rs
Remove more instances of snippet_opt.
2024-08-11 18:07:53 -04:00
regex.rs
Remove more instances of snippet_opt.
2024-08-11 18:07:53 -04:00
repeat_vec_with_capacity.rs
Require ConstEvalCtxt to be constructed.
2024-08-08 10:37:10 -04:00
reserve_after_initialization.rs
Rename BindingAnnotation to BindingMode
2024-04-17 09:34:39 -04:00
return_self_not_must_use.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
returns.rs
Remove more instances of snippet_opt.
2024-08-11 18:07:53 -04:00
same_name_method.rs
Merge commit ' b794b8e08c' into clippy-subtree-update
2024-07-11 15:44:03 +02:00
self_named_constructors.rs
Merge commit ' 9725c4a162' into clippy-subtree-update
2024-04-04 19:52:55 +02:00
semicolon_block.rs
Remove multispan_sugg[_with_applicability]
2024-08-04 13:14:23 +00:00
semicolon_if_nothing_returned.rs
Simplify use crate::rustc_foo::bar occurrences.
2024-05-08 16:57:31 +10:00
serde_api.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
set_contains_or_insert.rs
Add BTreeSet to set_contains_or_insert
2024-07-26 22:52:07 -04:00
shadow.rs
Make restriction lint's use span_lint_and_then (q -> s)
2024-07-27 13:45:00 +02:00
significant_drop_tightening.rs
Merge commit ' 3e5a02b13b' into clippy-subtree-update
2024-06-13 12:30:48 +02:00
single_call_fn.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
single_char_lifetime_names.rs
Make restriction lint's use span_lint_and_then (q -> s)
2024-07-27 13:45:00 +02:00
single_component_path_imports.rs
store the span of the nested part of the use tree in the ast
2024-04-14 18:45:28 +02:00
single_range_in_vec_init.rs
Remove more instances of snippet_opt.
2024-08-11 18:07:53 -04:00
size_of_in_element_count.rs
And the tools too
2024-03-22 11:13:29 -04:00
size_of_ref.rs
Remove duplicated peel_middle_ty_refs
2024-07-17 12:51:08 +07:00
slow_vector_initialization.rs
Merge commit ' 20b085d500' into clippy-subtree-update
2024-05-02 17:26:44 +02:00
std_instead_of_core.rs
Replace rustc_semver with rustc_session::RustcVersion
2024-08-09 13:00:24 +00:00
string_patterns.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
strings.rs
Make restriction lint's use span_lint_and_then (q -> s)
2024-07-27 13:45:00 +02:00
strlen_on_c_strings.rs
Merge commit ' 10136170fe' into clippy-subtree-update
2024-02-27 15:50:17 +01:00
suspicious_operation_groupings.rs
Tighten spans for async blocks
2024-06-27 15:19:08 -04:00
suspicious_trait_impl.rs
Merge commit ' 3e5a02b13b' into clippy-subtree-update
2024-06-13 12:30:48 +02:00
suspicious_xor_used_as_pow.rs
Make restriction lint's use span_lint_and_then (q -> s)
2024-07-27 13:45:00 +02:00
swap.rs
Replace in_constant with is_in_const_context. Use only the state in LateContext to avoid walking the HIR tree.
2024-08-07 09:57:27 -04:00
swap_ptr_to_ref.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
tabs_in_doc_comments.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
temporary_assignment.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
tests_outside_test_module.rs
Make restriction lint's use span_lint_and_then (t -> w)
2024-07-27 13:45:02 +02:00
to_digit_is_some.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
to_string_trait_impl.rs
Merge commit ' 20b085d500' into clippy-subtree-update
2024-05-02 17:26:44 +02:00
trailing_empty_array.rs
Use ConstArg for array lengths
2024-07-16 19:27:28 -07:00
trait_bounds.rs
Remove more instances of snippet_opt.
2024-08-11 18:07:53 -04:00
tuple_array_conversions.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
unconditional_recursion.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
undocumented_unsafe_blocks.rs
Make restriction lint's use span_lint_and_then (t -> w)
2024-07-27 13:45:02 +02:00
unicode.rs
Make restriction lint's use span_lint_and_then (n -> p)
2024-07-26 09:41:38 +02:00
uninhabited_references.rs
Rename AstConv to HIR ty lowering
2024-03-22 06:31:40 +01:00
uninit_vec.rs
Rename hir::StmtKind::Local into hir::StmtKind::Let
2024-03-14 12:42:04 +01:00
unit_return_expecting_ord.rs
Align Term methods with GenericArg methods
2024-06-03 20:36:27 -04:00
unnamed_address.rs
Drop clippy::vtable_address_comparisons
2023-12-06 09:03:48 +01:00
unnecessary_box_returns.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
unnecessary_map_on_constructor.rs
Merge commit ' 9725c4a162' into clippy-subtree-update
2024-04-04 19:52:55 +02:00
unnecessary_owned_empty_strings.rs
Merge commit ' f0cdee4a3f' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00
unnecessary_self_imports.rs
Merge commit ' c9139bd546' into clippy-subtree-update
2024-05-30 10:49:05 +02:00
unnecessary_struct_initialization.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
unnecessary_wraps.rs
Do not underline suggestions for code that is already there
2024-08-01 18:53:42 +00:00
unnested_or_patterns.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
unsafe_removed_from_name.rs
store the span of the nested part of the use tree in the ast
2024-04-14 18:45:28 +02:00
unused_async.rs
hir: Remove hir::Map::{opt_parent_id,parent_id,get_parent,find_parent}
2024-02-10 12:24:46 +03:00
unused_io_amount.rs
Fix example
2024-07-30 22:34:56 +05:00
unused_peekable.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
unused_result_ok.rs
Add lint for unused_result_ok
2024-07-29 17:56:45 +01:00
unused_rounding.rs
Merge commit ' 9725c4a162' into clippy-subtree-update
2024-04-04 19:52:55 +02:00
unused_self.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
unused_unit.rs
Remove more instances of snippet_opt.
2024-08-11 18:07:53 -04:00
unwrap.rs
Clarify message for unwrap lint
2024-08-11 20:33:28 +05:00
unwrap_in_result.rs
Merge commit ' 3e5a02b13b' into clippy-subtree-update
2024-06-13 12:30:48 +02:00
upper_case_acronyms.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
use_self.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
useless_conversion.rs
Rename BindingAnnotation to BindingMode
2024-04-17 09:34:39 -04:00
vec.rs
Require ConstEvalCtxt to be constructed.
2024-08-08 10:37:10 -04:00
vec_init_then_push.rs
Merge commit ' 20b085d500' into clippy-subtree-update
2024-05-02 17:26:44 +02:00
visibility.rs
Remove more instances of snippet_opt.
2024-08-11 18:07:53 -04:00
wildcard_imports.rs
Remove HashSets from Conf
2024-08-12 20:24:47 +00:00
write.rs
Remove more instances of snippet_opt.
2024-08-11 18:07:53 -04:00
zero_div_zero.rs
Require ConstEvalCtxt to be constructed.
2024-08-08 10:37:10 -04:00
zero_repeat_side_effects.rs
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
zero_sized_map_values.rs
Always use ty:: qualifier for TyKind enum variants.
2024-04-16 16:29:13 +10:00