rust/clippy_lints/src
Trevor Gross 57627d254d Change f16 and f128 clippy stubs to be nonpanicking
It turns out there is a bit of a circular dependency - I cannot add
anything to `core` because Clippy fails, and I can't actually add
correct Clippy implementations without new implementations from `core`.

Change some of the Clippy stubs from `unimplemented!` to success values
and leave a FIXME in their place to mitigate this.

Fixes <https://github.com/rust-lang/rust/issues/122587>
2024-03-26 13:37:00 -04:00
..
attrs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
cargo Merge commit '60cb29c5e4f9772685c9873752196725c946a849' into clippyup 2024-02-08 20:24:42 +01:00
casts Rollup merge of #122780 - GuillaumeGomez:rename-hir-local, r=oli-obk 2024-03-23 15:00:18 +01:00
doc Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
functions Programmatically convert some of the pat ctors 2024-03-22 11:13:29 -04:00
loops Rollup merge of #122780 - GuillaumeGomez:rename-hir-local, r=oli-obk 2024-03-23 15:00:18 +01:00
matches Rollup merge of #122780 - GuillaumeGomez:rename-hir-local, r=oli-obk 2024-03-23 15:00:18 +01:00
methods Rollup merge of #122780 - GuillaumeGomez:rename-hir-local, r=oli-obk 2024-03-23 15:00:18 +01:00
misc_early Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
operators Merge commit '93f0a9a91f58c9b2153868f458402155fb6265bb' into clippy-subtree-update 2024-03-07 17:19:29 +01:00
transmute And the tools too 2024-03-22 11:13:29 -04:00
types Rename hir::Local into hir::LetStmt 2024-03-22 20:36:21 +01:00
unit_types Rename hir::Node::Local into hir::Node::LetStmt 2024-03-22 20:48:36 +01:00
utils Rename {enter,exit}_lint_attrs to check_attributes{,_post} 2024-03-24 14:57:57 +00:00
absolute_paths.rs hir: Remove fn opt_hir_id and fn opt_span 2024-02-07 09:38:24 +03:00
allow_attributes.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
almost_complete_range.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
approx_const.rs Propegate HIR and AST f16 and f128 types to clippy 2024-03-01 13:59:06 -05:00
arc_with_non_send_sync.rs Merge commit '66c29b973b3b10278bd39f4e26b08522a379c2c9' into clippy-subtree-update 2024-01-25 19:17:36 +01:00
as_conversions.rs Merge commit 'a859e5cc1ce100df22346a1005da30532d04de59' into clippyup 2023-12-16 14:12:50 +01:00
asm_syntax.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
assertions_on_constants.rs hir: Remove hir::Map::{opt_parent_id,parent_id,get_parent,find_parent} 2024-02-10 12:24:46 +03:00
assertions_on_result_states.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
assigning_clones.rs Rename hir::Node::Local into hir::Node::LetStmt 2024-03-22 20:48:36 +01: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 Fix clippy's usage of Body's coroutine_kind 2023-12-25 21:13:41 +00:00
blocks_in_conditions.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
bool_assert_comparison.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
bool_to_int_with_if.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
booleans.rs Merge commit '93f0a9a91f58c9b2153868f458402155fb6265bb' into clippy-subtree-update 2024-03-07 17:19:29 +01:00
borrow_deref_ref.rs Merge commit 'a859e5cc1ce100df22346a1005da30532d04de59' into clippyup 2023-12-16 14:12:50 +01:00
box_default.rs Rename hir::Node::Local into hir::Node::LetStmt 2024-03-22 20:48:36 +01:00
checked_conversions.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
cognitive_complexity.rs Rename {enter,exit}_lint_attrs to check_attributes{,_post} 2024-03-24 14:57:57 +00:00
collapsible_if.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
collection_is_never_read.rs Rename hir::Local into hir::LetStmt 2024-03-22 20:36:21 +01:00
comparison_chain.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
copies.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
copy_iterator.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
crate_in_macro_def.rs Add spacing information to delimiters. 2023-12-11 09:36:40 +11:00
create_dir.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
dbg_macro.rs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
declared_lints.rs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
default_constructed_unit_structs.rs Merge commit 'ac4c2094a6030530661bee3876e0228ddfeb6b8b' into clippy-subtree-sync 2023-12-28 19:33:07 +01:00
default_instead_of_iter_empty.rs Merge commit '66c29b973b3b10278bd39f4e26b08522a379c2c9' into clippy-subtree-update 2024-01-25 19:17:36 +01:00
default_numeric_fallback.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
default_union_representation.rs Don't forget that the lifetime on hir types is 'tcx 2024-01-18 16:07:10 +00:00
default.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
deprecated_lints.rs Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup 2022-06-30 10:50:09 +02:00
dereference.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
derivable_impls.rs hir: Remove fn opt_hir_id and fn opt_span 2024-02-07 09:38:24 +03:00
derive.rs Fix clippy 2024-03-22 11:16:57 -04:00
disallowed_macros.rs Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
disallowed_methods.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
disallowed_names.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
disallowed_script_idents.rs Rename all ParseSess variables/fields/lifetimes as psess. 2024-03-05 08:11:45 +11:00
disallowed_types.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
double_parens.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
drop_forget_ref.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
duplicate_mod.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
else_if_without_else.rs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
empty_drop.rs hir: Remove fn opt_hir_id and fn opt_span 2024-02-07 09:38:24 +03:00
empty_enum.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
empty_with_brackets.rs Merge commit '26ac6aab023393c94edf42f38f6ad31196009643' 2024-01-11 17:27:03 +01:00
endian_bytes.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
entry.rs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
enum_clike.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
equatable_if_let.rs Implement macro-based deref!() syntax for deref patterns 2024-03-21 11:42:49 -04:00
error_impl_error.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
escape.rs hir: Remove opt_local_def_id_to_hir_id and opt_hir_node_by_def_id 2024-03-14 22:34:24 +03:00
eta_reduction.rs Fix clippy 2024-03-22 11:16:57 -04:00
excessive_bools.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
excessive_nesting.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
exhaustive_items.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
exit.rs hir: Remove opt_local_def_id_to_hir_id and opt_hir_node_by_def_id 2024-03-14 22:34:24 +03:00
explicit_write.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
extra_unused_type_parameters.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
fallible_impl_from.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
float_literal.rs Change f16 and f128 clippy stubs to be nonpanicking 2024-03-26 13:37:00 -04:00
floating_point_arithmetic.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
format_args.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
format_impl.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
format_push_string.rs Merge commit 'ac4c2094a6030530661bee3876e0228ddfeb6b8b' into clippy-subtree-sync 2023-12-28 19:33:07 +01:00
format.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
formatting.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
four_forward_slashes.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
from_over_into.rs Clippy: Fix empty suggestion in from_over_into 2024-01-26 09:42:12 +01:00
from_raw_with_void_ptr.rs And the tools too 2024-03-22 11:13:29 -04:00
from_str_radix_10.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
future_not_send.rs Bless test fallout (duplicate diagnostics) 2024-03-20 13:00:34 -04:00
if_let_mutex.rs Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
if_not_else.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
if_then_some_else_none.rs Merge commit '26ac6aab023393c94edf42f38f6ad31196009643' 2024-01-11 17:27:03 +01:00
ignored_unit_patterns.rs Rename hir::Node::Local into hir::Node::LetStmt 2024-03-22 20:48:36 +01:00
impl_hash_with_borrow_str_and_bytes.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
implicit_hasher.rs Rename AstConv to HIR ty lowering 2024-03-22 06:31:40 +01:00
implicit_return.rs rustc_span: Optimize syntax context comparisons 2024-01-06 01:25:20 +03:00
implicit_saturating_add.rs Pack the u128 in LitKind::Int 2024-01-19 20:10:39 -08:00
implicit_saturating_sub.rs Pack the u128 in LitKind::Int 2024-01-19 20:10:39 -08:00
implied_bounds_in_impls.rs Rename AstConv to HIR ty lowering 2024-03-22 06:31:40 +01:00
incompatible_msrv.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
inconsistent_struct_constructor.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
index_refutable_slice.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
indexing_slicing.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
ineffective_open_options.rs Merge commit 'ac4c2094a6030530661bee3876e0228ddfeb6b8b' into clippy-subtree-sync 2023-12-28 19:33:07 +01:00
infinite_iter.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
inherent_impl.rs Merge commit '66c29b973b3b10278bd39f4e26b08522a379c2c9' into clippy-subtree-update 2024-01-25 19:17:36 +01:00
inherent_to_string.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
init_numbered_fields.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
inline_fn_without_body.rs Rename DiagnosticExt as DiagExt. 2024-03-05 12:14:49 +11:00
instant_subtraction.rs Merge commit '26ac6aab023393c94edf42f38f6ad31196009643' 2024-01-11 17:27:03 +01:00
int_plus_one.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
integer_division_remainder_used.rs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
invalid_upcast_comparisons.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
item_name_repetitions.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
items_after_statements.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
items_after_test_module.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
iter_not_returning_iterator.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
iter_over_hash_type.rs Merge commit '60cb29c5e4f9772685c9873752196725c946a849' into clippyup 2024-02-08 20:24:42 +01:00
iter_without_into_iter.rs hir: Remove hir::Map::{opt_parent_id,parent_id,get_parent,find_parent} 2024-02-10 12:24:46 +03:00
large_const_arrays.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
large_enum_variant.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
large_futures.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
large_include_file.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
large_stack_arrays.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
large_stack_frames.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
len_zero.rs hir: Remove fn opt_hir_id and fn opt_span 2024-02-07 09:38:24 +03:00
let_if_seq.rs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
let_underscore.rs Rename hir::Local into hir::LetStmt 2024-03-22 20:36:21 +01:00
let_with_type_underscore.rs Rename hir::Local into hir::LetStmt 2024-03-22 20:36:21 +01:00
lib.deprecated.rs Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup 2021-10-07 11:21:30 +02:00
lib.rs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
lifetimes.rs hir: Remove hir::Map::{opt_parent_id,parent_id,get_parent,find_parent} 2024-02-10 12:24:46 +03:00
lines_filter_map_ok.rs Merge commit '26ac6aab023393c94edf42f38f6ad31196009643' 2024-01-11 17:27:03 +01:00
literal_representation.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
macro_use.rs Remove unused structs in clippy 2024-03-10 23:33:00 +08:00
main_recursion.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
manual_assert.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
manual_async_fn.rs Merge commit 'ac4c2094a6030530661bee3876e0228ddfeb6b8b' into clippy-subtree-sync 2023-12-28 19:33:07 +01:00
manual_bits.rs Pack the u128 in LitKind::Int 2024-01-19 20:10:39 -08:00
manual_clamp.rs Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
manual_float_methods.rs Merge commit 'a859e5cc1ce100df22346a1005da30532d04de59' into clippyup 2023-12-16 14:12:50 +01:00
manual_hash_one.rs Rename hir::Local into hir::LetStmt 2024-03-22 20:36:21 +01:00
manual_is_ascii_check.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
manual_let_else.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
manual_main_separator_str.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
manual_non_exhaustive.rs Give VariantData::Struct named fields, to clairfy recovered. 2023-12-20 00:07:34 +00:00
manual_range_patterns.rs Pack the u128 in LitKind::Int 2024-01-19 20:10:39 -08:00
manual_rem_euclid.rs Rename hir::Node::Local into hir::Node::LetStmt 2024-03-22 20:48:36 +01:00
manual_retain.rs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
manual_slice_size_calculation.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
manual_string_new.rs Merge commit 'a859e5cc1ce100df22346a1005da30532d04de59' into clippyup 2023-12-16 14:12:50 +01:00
manual_strip.rs Pack the u128 in LitKind::Int 2024-01-19 20:10:39 -08:00
manual_unwrap_or_default.rs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
map_unit_fn.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
match_result_ok.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
mem_replace.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
min_ident_chars.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
minmax.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
misc.rs Rollup merge of #122513 - petrochenkov:somehir4, r=fmease 2024-03-15 17:24:09 +01:00
mismatching_type_param_order.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
missing_assert_message.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
missing_asserts_for_indexing.rs Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
missing_const_for_fn.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
missing_doc.rs Rename {enter,exit}_lint_attrs to check_attributes{,_post} 2024-03-24 14:57:57 +00:00
missing_enforced_import_rename.rs Merge commit '26ac6aab023393c94edf42f38f6ad31196009643' 2024-01-11 17:27:03 +01:00
missing_fields_in_debug.rs hir: Remove opt_local_def_id_to_hir_id and opt_hir_node_by_def_id 2024-03-14 22:34:24 +03:00
missing_inline.rs remove redundant imports 2023-12-10 10:56:22 +08:00
missing_trait_methods.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
mixed_read_write_in_expression.rs Rename hir::Local into hir::LetStmt 2024-03-22 20:36:21 +01:00
module_style.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
multi_assignments.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
multiple_bound_locations.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
multiple_unsafe_ops_per_block.rs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
mut_key.rs Rename hir::Local into hir::LetStmt 2024-03-22 20:36:21 +01:00
mut_mut.rs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
mut_reference.rs And the tools too 2024-03-22 11:13:29 -04:00
mutable_debug_assertion.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
mutex_atomic.rs Programmatically convert some of the pat ctors 2024-03-22 11:13:29 -04:00
needless_arbitrary_self_type.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
needless_bool.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
needless_borrowed_ref.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
needless_borrows_for_generic_args.rs Merge commit 'a859e5cc1ce100df22346a1005da30532d04de59' into clippyup 2023-12-16 14:12:50 +01:00
needless_continue.rs Plumb awaitness of for loops 2023-12-19 12:26:20 -08:00
needless_else.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
needless_for_each.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
needless_if.rs Merge commit 'a859e5cc1ce100df22346a1005da30532d04de59' into clippyup 2023-12-16 14:12:50 +01:00
needless_late_init.rs Rename hir::Local into hir::LetStmt 2024-03-22 20:36:21 +01:00
needless_parens_on_range_literals.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
needless_pass_by_ref_mut.rs Deduplicate associated_body and body_id 2024-03-18 18:12:32 +00:00
needless_pass_by_value.rs Rename DiagnosticBuilder as Diag. 2024-02-28 08:55:35 +11:00
needless_question_mark.rs Fix clippy's usage of Body's coroutine_kind 2023-12-25 21:13:41 +00:00
needless_update.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
neg_cmp_op_on_partial_ord.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
neg_multiply.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
new_without_default.rs Rename DiagnosticExt as DiagExt. 2024-03-05 12:14:49 +11:00
no_effect.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
no_mangle_with_rust_abi.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
non_canonical_impls.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
non_copy_const.rs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
non_expressive_names.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
non_octal_unix_permissions.rs Merge commit '26ac6aab023393c94edf42f38f6ad31196009643' 2024-01-11 17:27:03 +01:00
non_send_fields_in_send_ty.rs Programmatically convert some of the pat ctors 2024-03-22 11:13:29 -04:00
nonstandard_macro_braces.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
octal_escapes.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
only_used_in_recursion.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
option_env_unwrap.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
option_if_let_else.rs Merge commit 'ac4c2094a6030530661bee3876e0228ddfeb6b8b' into clippy-subtree-sync 2023-12-28 19:33:07 +01:00
overflow_check_conditional.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
panic_in_result_fn.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
panic_unimplemented.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
partial_pub_fields.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
partialeq_ne_impl.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
partialeq_to_none.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
pass_by_ref_or_value.rs hir: Remove hir::Map::{opt_parent_id,parent_id,get_parent,find_parent} 2024-02-10 12:24:46 +03:00
pattern_type_mismatch.rs Rename hir::Let into hir::LetExpr 2024-03-20 16:47:11 +01:00
permissions_set_readonly_false.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
precedence.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
ptr_offset_with_cast.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
ptr.rs Rename hir::Node::Local into hir::Node::LetStmt 2024-03-22 20:48:36 +01:00
pub_underscore_fields.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
pub_use.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
question_mark_used.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
question_mark.rs Rename hir::Local into hir::LetStmt 2024-03-22 20:36:21 +01:00
ranges.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
raw_strings.rs fix: allow-one-hash-in-raw-strings option of needless_raw_string_hashes was ignored 2024-03-12 10:59:41 +01:00
rc_clone_in_vec_init.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' 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 'ac4c2094a6030530661bee3876e0228ddfeb6b8b' into clippy-subtree-sync 2023-12-28 19:33:07 +01:00
redundant_clone.rs compiler: Lower fn call arg spans down to MIR 2024-01-15 19:07:11 +01:00
redundant_closure_call.rs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01: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 '93f0a9a91f58c9b2153868f458402155fb6265bb' into clippy-subtree-update 2024-03-07 17:19:29 +01:00
redundant_locals.rs Rename hir::Local into hir::LetStmt 2024-03-22 20:36:21 +01:00
redundant_pub_crate.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
redundant_slicing.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
redundant_static_lifetimes.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
redundant_type_annotations.rs Rename hir::Local into hir::LetStmt 2024-03-22 20:36:21 +01:00
ref_option_ref.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
ref_patterns.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
reference.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
regex.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
renamed_lints.rs Merge commit 'a859e5cc1ce100df22346a1005da30532d04de59' into clippyup 2023-12-16 14:12:50 +01:00
repeat_vec_with_capacity.rs Merge commit '60cb29c5e4f9772685c9873752196725c946a849' into clippyup 2024-02-08 20:24:42 +01:00
reserve_after_initialization.rs Rename hir::Local into hir::LetStmt 2024-03-22 20:36:21 +01:00
return_self_not_must_use.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
returns.rs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
same_name_method.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
self_named_constructors.rs hir: Remove opt_local_def_id_to_hir_id and opt_hir_node_by_def_id 2024-03-14 22:34:24 +03:00
semicolon_block.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
semicolon_if_nothing_returned.rs Merge commit '66c29b973b3b10278bd39f4e26b08522a379c2c9' into clippy-subtree-update 2024-01-25 19:17:36 +01:00
serde_api.rs Merge commit '26ac6aab023393c94edf42f38f6ad31196009643' 2024-01-11 17:27:03 +01:00
shadow.rs Rename hir::Node::Local into hir::Node::LetStmt 2024-03-22 20:48:36 +01:00
significant_drop_tightening.rs And the tools too 2024-03-22 11:13:29 -04:00
single_call_fn.rs hir: Remove opt_local_def_id_to_hir_id and opt_hir_node_by_def_id 2024-03-14 22:34:24 +03:00
single_char_lifetime_names.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
single_component_path_imports.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
single_range_in_vec_init.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
size_of_in_element_count.rs And the tools too 2024-03-22 11:13:29 -04:00
size_of_ref.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
slow_vector_initialization.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
std_instead_of_core.rs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
strings.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
strlen_on_c_strings.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
suspicious_operation_groupings.rs Add MatchKind member to the Match expr for pretty printing & fmt 2024-03-06 00:35:19 -05:00
suspicious_trait_impl.rs Move some methods from tcx.hir() to tcx 2023-12-12 06:40:29 -08:00
suspicious_xor_used_as_pow.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
swap_ptr_to_ref.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
swap.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
tabs_in_doc_comments.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
temporary_assignment.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
tests_outside_test_module.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
thread_local_initializer_can_be_made_const.rs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
to_digit_is_some.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
to_string_trait_impl.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
trailing_empty_array.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
trait_bounds.rs Merge commit '66c29b973b3b10278bd39f4e26b08522a379c2c9' into clippy-subtree-update 2024-01-25 19:17:36 +01:00
tuple_array_conversions.rs Rename hir::Node::Local into hir::Node::LetStmt 2024-03-22 20:48:36 +01:00
unconditional_recursion.rs Rename AstConv to HIR ty lowering 2024-03-22 06:31:40 +01:00
undocumented_unsafe_blocks.rs Rename hir::Node::Local into hir::Node::LetStmt 2024-03-22 20:48:36 +01:00
unicode.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01: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 Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
unnamed_address.rs Drop clippy::vtable_address_comparisons 2023-12-06 09:03:48 +01:00
unnecessary_box_returns.rs hir: Remove hir::Map::{opt_parent_id,parent_id,get_parent,find_parent} 2024-02-10 12:24:46 +03:00
unnecessary_map_on_constructor.rs Merge commit 'a859e5cc1ce100df22346a1005da30532d04de59' into clippyup 2023-12-16 14:12:50 +01:00
unnecessary_owned_empty_strings.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
unnecessary_self_imports.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
unnecessary_struct_initialization.rs Move some methods from tcx.hir() to tcx 2023-12-12 06:40:29 -08:00
unnecessary_wraps.rs hir: Remove hir::Map::{opt_parent_id,parent_id,get_parent,find_parent} 2024-02-10 12:24:46 +03:00
unnested_or_patterns.rs Implement macro-based deref!() syntax for deref patterns 2024-03-21 11:42:49 -04:00
unsafe_removed_from_name.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01: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 Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
unused_peekable.rs Rename hir::Node::Local into hir::Node::LetStmt 2024-03-22 20:48:36 +01:00
unused_rounding.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
unused_self.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
unused_unit.rs Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
unwrap_in_result.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
unwrap.rs hir: Remove hir::Map::{opt_parent_id,parent_id,get_parent,find_parent} 2024-02-10 12:24:46 +03:00
upper_case_acronyms.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
use_self.rs Update (doc) comments 2024-03-22 06:31:51 +01:00
useless_conversion.rs Use correct param env in clippy 2024-02-07 22:57:55 +00:00
vec_init_then_push.rs Rename hir::Local into hir::LetStmt 2024-03-22 20:36:21 +01:00
vec.rs Rename hir::Node::Local into hir::Node::LetStmt 2024-03-22 20:48:36 +01:00
visibility.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
wildcard_imports.rs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
write.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
zero_div_zero.rs Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
zero_repeat_side_effects.rs Rename hir::Node::Local into hir::Node::LetStmt 2024-03-22 20:48:36 +01:00
zero_sized_map_values.rs Rename AstConv to HIR ty lowering 2024-03-22 06:31:40 +01:00