1
Fork 0
rust/compiler
bors e64f1110c0 Auto merge of #103345 - Nilstrieb:diag-flat, r=compiler-errors
Flatten diagnostic slug modules

This makes it easier to grep for the slugs in the code.

See https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Localization.20infra.20interferes.20with.20grepping.20for.20error for more discussion about it.

This was mostly done with a few regexes and a bunch of manual work. This also exposes a pretty annoying inconsistency for the extra labels. Some of the extra labels are defined as additional properties in the fluent message (which makes them not prefixed with the crate name) and some of them are new fluent messages themselves (which makes them prefixed with the crate name). I don't know whether we want to clean this up at some point but it's useful to know.

r? `@davidtwco`
2022-10-23 09:06:39 +00:00
..
rustc
rustc_apfloat Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_arena Make use of [wrapping_]byte_{add,sub} 2022-08-23 19:32:37 +04:00
rustc_ast Fix TyKind::is_simple_path. 2022-10-18 15:51:23 +11:00
rustc_ast_lowering Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_ast_passes Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_ast_pretty Rename AssocItemKind::TyAlias to AssocItemKind::Type 2022-10-10 02:31:37 +00:00
rustc_attr Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_borrowck Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_builtin_macros Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_codegen_cranelift more dupe word typos 2022-10-14 12:57:56 +08:00
rustc_codegen_gcc Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_codegen_llvm Get rid of native_library projection queries 2022-10-19 16:21:21 +02:00
rustc_codegen_ssa Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_const_eval Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_data_structures fix some typos 2022-10-21 18:04:00 +08:00
rustc_driver Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_error_codes fix small word dupe typos 2022-10-13 00:53:46 +08:00
rustc_error_messages Rollup merge of #103051 - davidtwco:translation-tidying-up, r=compiler-errors 2022-10-21 17:29:58 +05:30
rustc_errors Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_expand Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_feature Add code comments and documentation 2022-10-20 22:44:10 +00:00
rustc_fs_util Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_graphviz Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_hir Use tidy-alphabetical in the compiler 2022-10-12 17:49:10 +05:30
rustc_hir_analysis Auto merge of #103345 - Nilstrieb:diag-flat, r=compiler-errors 2022-10-23 09:06:39 +00:00
rustc_hir_pretty pretty: fix to print some lifetimes on HIR pretty-print 2022-10-15 23:34:21 +09:00
rustc_hir_typeck Auto merge of #103345 - Nilstrieb:diag-flat, r=compiler-errors 2022-10-23 09:06:39 +00:00
rustc_incremental Rollup merge of #102829 - compiler-errors:rename-impl-item-kind, r=TaKO8Ki 2022-10-10 00:09:42 +09:00
rustc_index Remove from compiler/ crates 2022-09-29 16:49:04 +09:00
rustc_infer Auto merge of #103345 - Nilstrieb:diag-flat, r=compiler-errors 2022-10-23 09:06:39 +00:00
rustc_interface Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_lexer Remove from compiler/ crates 2022-09-29 16:49:04 +09:00
rustc_lint Auto merge of #103345 - Nilstrieb:diag-flat, r=compiler-errors 2022-10-23 09:06:39 +00:00
rustc_lint_defs Rollup merge of #102635 - lcnr:incoherent_auto_trait_objects, r=jackh726 2022-10-22 00:13:59 +02:00
rustc_llvm Avoid LLVM-deprecated Optional::hasValue 2022-09-26 16:51:18 -07:00
rustc_log Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_macros Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_metadata Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_middle Auto merge of #103345 - Nilstrieb:diag-flat, r=compiler-errors 2022-10-23 09:06:39 +00:00
rustc_mir_build Introduce InhabitedPredicate 2022-10-22 13:20:06 -05:00
rustc_mir_dataflow Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_mir_transform Introduce deduced parameter attributes, and use them for deducing readonly on 2022-10-21 02:33:15 -07:00
rustc_monomorphize Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_parse Auto merge of #103345 - Nilstrieb:diag-flat, r=compiler-errors 2022-10-23 09:06:39 +00:00
rustc_parse_format Detect and reject out-of-range integers in format string literals 2022-10-01 01:05:01 +02:00
rustc_passes Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_plugin_impl Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_privacy Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_query_impl Introduce deduced parameter attributes, and use them for deducing readonly on 2022-10-21 02:33:15 -07:00
rustc_query_system Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_resolve Rollup merge of #103111 - cjgillot:shadow-label, r=estebank 2022-10-21 17:29:59 +05:30
rustc_save_analysis Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_serialize remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
rustc_session Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_smir Only keep one version of ImplicitSelfKind. 2022-09-13 19:18:23 +02:00
rustc_span Auto merge of #103185 - chenyukang:yukang/fix-span-next-point, r=davidtwco 2022-10-20 10:40:09 +00:00
rustc_symbol_mangling Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_target Split is_stable from rustc_target::spec::abi::is_enabled. 2022-10-19 12:41:11 +02:00
rustc_trait_selection Auto merge of #103345 - Nilstrieb:diag-flat, r=compiler-errors 2022-10-23 09:06:39 +00:00
rustc_traits rm try_normalize_mir_const_after_erasing_regions 2022-10-17 10:54:03 +02:00
rustc_transmute Remove TypeckResults from InferCtxt 2022-10-07 07:06:19 -05:00
rustc_ty_utils Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_type_ir Deny const variables as well 2022-10-19 17:11:40 +00:00