rust/compiler
León Orell Valerian Liehr 0f16ccbb64
Rollup merge of #140372 - mejrs:attrs, r=jdonszelmann
Exhaustively handle parsed attributes in CheckAttr

This pr
 - Deletes the unused `DiagnosticAttribute ` struct and variant
 - Comments the `AttributeKind ` enum
 - The match in `CheckAttrVisitor` is now exhaustive for `AttributeKind::Parsed`.
 - Moved some checks around after that change

I did *not* thoroughly check that there's no duplicated logic between this pass and the attribute parsing but I think it's OK.

  r? ````@jdonszelmann````
2025-06-10 16:54:45 +02:00
..
rustc
rustc_abi compiler: add Deref to AbiAlign to ease transition 2025-06-08 16:41:48 -07:00
rustc_arena Introduce Arena::try_alloc_from_iter. 2025-04-19 01:13:18 +00:00
rustc_ast Rollup merge of #142086 - fee1-dead-contrib:ast-visitor-dedup, r=oli-obk 2025-06-06 23:53:17 +02:00
rustc_ast_ir
rustc_ast_lowering Remove all unused feature gates from the compiler 2025-06-08 14:50:42 +00:00
rustc_ast_passes Add iter macro 2025-06-03 10:52:32 -07:00
rustc_ast_pretty Reorder ast::ItemKind::{Struct,Enum,Union} fields. 2025-05-28 15:48:45 +10:00
rustc_attr_data_structures Delete unused variant and document AttributeKind 2025-06-06 11:43:22 +02:00
rustc_attr_parsing Rollup merge of #142058 - xizheyin:rustc-attr-parsing, r=jdonszelmann 2025-06-06 00:58:46 +02:00
rustc_baked_icu_data
rustc_borrowck Rollup merge of #142012 - oli-obk:no-optional-spans, r=fee1-dead 2025-06-06 00:58:44 +02:00
rustc_builtin_macros Remove all unused feature gates from the compiler 2025-06-08 14:50:42 +00:00
rustc_codegen_cranelift Remove rustc's notion of "preferred" alignment AKA __alignof 2025-06-08 16:41:46 -07:00
rustc_codegen_gcc Rollup merge of #141993 - tgross35:use-in-tree-builtins, r=bjorn3 2025-06-09 12:17:53 -05:00
rustc_codegen_llvm Rollup merge of #142194 - bjorn3:less_unstable_features, r=jieyouxu 2025-06-08 17:17:58 -07:00
rustc_codegen_ssa Rollup merge of #142053 - heiher:loong32-none, r=wesleywiser 2025-06-08 17:17:53 -07:00
rustc_const_eval Rollup merge of #142222 - compiler-errors:ocx-w-no-diag, r=lcnr 2025-06-09 13:55:34 +02:00
rustc_data_structures Rollup merge of #142194 - bjorn3:less_unstable_features, r=jieyouxu 2025-06-08 17:17:58 -07:00
rustc_driver
rustc_driver_impl Rollup merge of #141072 - Rynibami:stabilize-const-result-flatten, r=jhpratt 2025-06-01 00:35:50 +02:00
rustc_error_codes intrinsics: use const generic to set atomic ordering 2025-06-07 21:45:58 +02:00
rustc_error_messages Fix review comments 2025-06-06 14:20:48 +00:00
rustc_errors Remove all unused feature gates from the compiler 2025-06-08 14:50:42 +00:00
rustc_expand Remove all unused feature gates from the compiler 2025-06-08 14:50:42 +00:00
rustc_feature Rollup merge of #140767 - sayantn:stabilize-sha512, r=traviscross,tgross35 2025-06-09 12:17:52 -05:00
rustc_fluent_macro Remove all unused feature gates from the compiler 2025-06-08 14:50:42 +00:00
rustc_fs_util Retry if creating temp fails with access denied 2025-04-25 11:28:36 +00:00
rustc_graphviz
rustc_hashes
rustc_hir Remove all unused feature gates from the compiler 2025-06-08 14:50:42 +00:00
rustc_hir_analysis Auto merge of #141435 - RalfJung:unsupported_calling_conventions, r=workingjubilee 2025-06-09 05:21:49 +00:00
rustc_hir_pretty Reorder hir fn stuff. 2025-05-30 02:28:35 +10:00
rustc_hir_typeck Auto merge of #142234 - matthiaskrgr:rollup-kg5wibu, r=matthiaskrgr 2025-06-09 08:27:35 +00:00
rustc_incremental Auto merge of #139758 - Zoxc:thread-local-graph, r=oli-obk 2025-05-07 12:39:54 +00:00
rustc_index index: add method for checking range on DenseBitSet 2025-06-04 00:47:12 +02:00
rustc_index_macros In rustc_mir_tranform, iterate over index newtypes instead of ints 2025-04-12 11:53:07 +00:00
rustc_infer Remove all unused feature gates from the compiler 2025-06-08 14:50:42 +00:00
rustc_interface Rollup merge of #142089 - bjorn3:sysroot_handling_cleanup3, r=petrochenkov 2025-06-08 17:17:54 -07:00
rustc_lexer rustc_lexer: typo fix + small cleanups 2025-06-06 13:08:16 +00:00
rustc_lint Auto merge of #141435 - RalfJung:unsupported_calling_conventions, r=workingjubilee 2025-06-09 05:21:49 +00:00
rustc_lint_defs add (back) unsupported_calling_conventions lint to reject more invalid calling conventions 2025-06-08 07:34:41 +02:00
rustc_llvm rustc_llvm: add Windows system libs only when cross-compiling from Windows 2025-05-31 15:47:14 +02:00
rustc_log Allow linking rustc and rustdoc against the same single tracing crate 2025-05-03 10:18:50 -07:00
rustc_macros Remove all unused feature gates from the compiler 2025-06-08 14:50:42 +00:00
rustc_metadata raw dylib: ensure that we have applied standard ABI checks 2025-06-08 07:34:41 +02:00
rustc_middle Auto merge of #141451 - lcnr:canonicalize-env-cache, r=compiler-errors 2025-06-10 10:42:35 +00:00
rustc_mir_build Rollup merge of #142047 - cuviper:s390x-stack, r=oli-obk 2025-06-06 00:58:45 +02:00
rustc_mir_dataflow update cfg(bootstrap) 2025-05-12 15:33:37 +02:00
rustc_mir_transform Remove all unused feature gates from the compiler 2025-06-08 14:50:42 +00:00
rustc_monomorphize Rollup merge of #141558 - Diggsey:db-limit-cgu-name-length, r=matthewjasper 2025-06-07 07:05:45 +02:00
rustc_next_trait_solver add param_env cache to canonicalization 2025-06-08 22:41:23 -04:00
rustc_parse Remove all unused feature gates from the compiler 2025-06-08 14:50:42 +00:00
rustc_parse_format Remove duplicate impl of string unescape 2025-05-06 10:00:22 +00:00
rustc_passes Rollup merge of #140372 - mejrs:attrs, r=jdonszelmann 2025-06-10 16:54:45 +02:00
rustc_pattern_analysis Use builin_index instead of hand-rolling it 2025-05-28 10:03:01 +00:00
rustc_privacy Reorder fields in hir::ItemKind variants. 2025-05-30 02:23:20 +10:00
rustc_proc_macro Do not get proc_macro from the sysroot in rustc 2025-05-27 15:49:28 +00:00
rustc_query_impl Auto merge of #140145 - Zoxc:job-server-proxy, r=SparrowLii 2025-05-01 04:11:52 +00:00
rustc_query_system Remove all unused feature gates from the compiler 2025-06-08 14:50:42 +00:00
rustc_resolve Rollup merge of #142086 - fee1-dead-contrib:ast-visitor-dedup, r=oli-obk 2025-06-06 23:53:17 +02:00
rustc_sanitizers Replace some Option<Span> with Span and use DUMMY_SP instead of None 2025-06-05 14:14:59 +00:00
rustc_serialize Zero the buffer passed from write_with 2025-04-25 07:14:27 +02:00
rustc_session Replace all uses of sysroot_candidates with get_or_default_sysroot 2025-06-05 16:54:10 +00:00
rustc_smir Change tag_field to FieldIdx in Variants::Multiple 2025-06-03 23:42:21 -07:00
rustc_span Rollup merge of #142194 - bjorn3:less_unstable_features, r=jieyouxu 2025-06-08 17:17:58 -07:00
rustc_symbol_mangling Rename unpack to kind 2025-05-27 11:14:45 +00:00
rustc_target Rollup merge of #140767 - sayantn:stabilize-sha512, r=traviscross,tgross35 2025-06-09 12:17:52 -05:00
rustc_trait_selection Rollup merge of #142194 - bjorn3:less_unstable_features, r=jieyouxu 2025-06-08 17:17:58 -07:00
rustc_traits Querify coroutine_hidden_types 2025-05-20 11:50:25 +00:00
rustc_transmute Change tag_field to FieldIdx in Variants::Multiple 2025-06-03 23:42:21 -07:00
rustc_ty_utils Dont make ObligationCtxts with diagnostics unnecessarily 2025-06-08 22:40:44 -04:00
rustc_type_ir add param_env cache to canonicalization 2025-06-08 22:41:23 -04:00
rustc_type_ir_macros Split TypeFolder and FallibleTypeFolder 2025-04-15 18:30:35 +00:00
stable_mir Change rustc_driver dependency on stable_mir crate 2025-04-30 15:39:52 -07:00