rust/compiler/rustc_lint/src
Matthias Krüger 938742e687
Rollup merge of #133265 - the8472:extract-if-ranges, r=cuviper
Add a range argument to vec.extract_if

tracking issue: #43244

This adds the range argument requested in https://github.com/rust-lang/rust/issues/43244#issuecomment-2486160659
2024-12-17 22:34:40 +01:00
..
early Improve check-cfg Cargo macro diagnostic with crate name 2024-12-15 17:16:01 +01:00
nonstandard_style mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
types rename rustc_attr to rustc_attr_parsing and create rustc_attr_data_structures 2024-12-16 19:08:19 +01:00
async_closures.rs Stabilize async closures 2024-12-13 00:04:56 +00:00
async_fn_in_trait.rs nightly feature tracking: get rid of the per-feature bool fields 2024-10-23 09:14:41 +01:00
builtin.rs Use links to edition guide for edition migrations 2024-12-15 20:28:16 -08:00
context.rs Access TyCtxt from early diagnostic decoration 2024-12-15 00:25:05 +01:00
dangling.rs Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators 2024-12-12 16:29:40 +00:00
deref_into_dyn_supertrait.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
drop_forget_useless.rs remove Ty::is_copy_modulo_regions 2024-12-02 13:57:56 +01:00
early.rs Cleanup lifetimes around EarlyContextAndPass and EarlyCheckNode 2024-12-15 17:16:00 +01:00
enum_intrinsics_non_enums.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
errors.rs Add warn(unreachable_pub) to rustc_lint. 2024-08-27 15:24:11 +10:00
expect.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
for_loops_over_fallibles.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
foreign_modules.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
hidden_unicode_codepoints.rs Actually walk into lifetimes and attrs in EarlyContextAndPass 2024-12-07 02:08:40 +00:00
if_let_rescope.rs Use links to edition guide for edition migrations 2024-12-15 20:28:16 -08:00
impl_trait_overcaptures.rs impl trait overcaptures, yeet TypingMode::from_param_env 2024-11-19 18:06:20 +01:00
internal.rs Remove rustc::existing_doc_keyword lint. 2024-12-17 13:56:10 +11:00
invalid_from_utf8.rs Remove extern crate rustc_session from rustc_lint. 2024-04-29 13:57:41 +10:00
late.rs Do not filter empty passes & Make CTFE Clippy into lintless pass 2024-11-05 15:27:09 +01:00
let_underscore.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
levels.rs split attributes 2024-12-16 19:08:19 +01:00
lib.rs Remove rustc::existing_doc_keyword lint. 2024-12-17 13:56:10 +11:00
lints.rs Rollup merge of #134202 - nnethercote:rm-existing_doc_keyword, r=GuillaumeGomez 2024-12-17 05:36:52 -05:00
macro_expr_fragment_specifier_2024_migration.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
map_unit_fn.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
multiple_supertrait_upcastable.rs Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
non_ascii_idents.rs update uses of extract_if in the compiler 2024-12-16 22:06:52 +01:00
non_fmt_panic.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
non_local_def.rs Also treat impl definition parent as transparent regarding modules 2024-11-01 16:07:02 +01:00
nonstandard_style.rs rename rustc_attr to rustc_attr_parsing and create rustc_attr_data_structures 2024-12-16 19:08:19 +01:00
noop_method_call.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
opaque_hidden_inferred_bound.rs Remap impl-trait lifetimes on HIR instead of AST lowering. 2024-10-30 16:18:50 +00:00
pass_by_value.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
passes.rs Add hir::Attribute 2024-12-15 19:18:46 +01:00
precedence.rs Temporarily switch ambiguous_negative_literals lint to allow 2024-07-31 19:36:47 +02:00
ptr_nulls.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
redundant_semicolon.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
reference_casting.rs move fn is_item_raw to TypingEnv 2024-11-19 18:06:20 +01:00
shadowed_into_iter.rs Use links to edition guide for edition migrations 2024-12-15 20:28:16 -08:00
static_mut_refs.rs Fix #131977 parens mangled in shared mut static lint suggestion 2024-10-24 03:34:37 +00:00
tests.rs allow symbol_intern_string_literal lint in test modules 2024-12-11 20:38:55 +03:00
traits.rs Represent TraitBoundModifiers as distinct parts in HIR 2024-10-22 19:48:44 +00:00
types.rs Fix trimmed_def_paths ICE in the function ptr comparison lint 2024-12-15 23:46:42 +01:00
unit_bindings.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
unqualified_local_imports.rs spell "referring" correctly 2024-12-15 19:36:35 -08:00
unused.rs Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-dead 2024-12-08 17:18:50 +01:00