rust/compiler
Xiretza 28b29db8f0 fluent: point to path containing error instead of module name
Example error before:

error: name `generic_does_not_live_long_enough` does not start with the crate name
  --> compiler/rustc_error_messages/src/lib.rs:33:17
   |
33 |     borrowck => "../locales/en-US/borrowck.ftl",
   |     ^^^^^^^^
   |
   = help: prepend `borrowck_` to the slug name: `borrowck_generic_does_not_live_long_enough`

after:

error: name `generic_does_not_live_long_enough` does not start with the crate name
  --> compiler/rustc_error_messages/src/lib.rs:33:17
   |
33 |     borrowck => "../locales/en-US/borrowck.ftl",
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: prepend `borrowck_` to the slug name: `borrowck_generic_does_not_live_long_enough`
2022-08-22 08:42:46 +02: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 Rollup merge of #100822 - WaffleLapkin:no_offset_question_mark, r=scottmcm 2022-08-21 16:54:07 +02:00
rustc_ast Use AttrVec in more places. 2022-08-22 07:35:33 +10:00
rustc_ast_lowering Use AttrVec in more places. 2022-08-22 07:35:33 +10:00
rustc_ast_passes Reenable early feature-gates as future-compat warnings 2022-08-17 06:53:18 -05:00
rustc_ast_pretty Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_attr
rustc_borrowck Rollup merge of #100761 - lcnr:mir-typeck-cleanup, r=compiler-errors 2022-08-21 16:54:04 +02:00
rustc_builtin_macros Use AttrVec in more places. 2022-08-22 07:35:33 +10:00
rustc_codegen_cranelift Rollup merge of #100822 - WaffleLapkin:no_offset_question_mark, r=scottmcm 2022-08-21 16:54:07 +02:00
rustc_codegen_gcc Replace most uses of pointer::offset with add and sub 2022-08-21 02:21:41 +04:00
rustc_codegen_llvm Rollup merge of #100460 - cuviper:drop-llvm-12, r=nagisa 2022-08-16 06:05:57 +02:00
rustc_codegen_ssa Rollup merge of #100208 - RalfJung:dyn-upcast-nop, r=petrochenkov 2022-08-19 12:26:41 +05:30
rustc_const_eval Replace #[lint/warning/error] with #[diag] 2022-08-21 09:17:43 +02:00
rustc_data_structures Use AttrVec in more places. 2022-08-22 07:35:33 +10:00
rustc_driver Use AttrVec in more places. 2022-08-22 07:35:33 +10:00
rustc_error_codes Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_error_messages fluent: mandate slug names to be prefixed by crate name 2022-08-22 08:42:44 +02:00
rustc_errors Add Handler::struct_diagnostic() 2022-08-21 09:17:43 +02:00
rustc_expand Use AttrVec in more places. 2022-08-22 07:35:33 +10:00
rustc_feature Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01: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 Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_hir_pretty Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_incremental
rustc_index Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_infer Rework point-at-arg 2022-08-21 02:34:52 +00:00
rustc_interface Replace #[lint/warning/error] with #[diag] 2022-08-21 09:17:43 +02:00
rustc_lexer Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_lint Replace #[lint/warning/error] with #[diag] 2022-08-21 09:17:43 +02:00
rustc_lint_defs Rollup merge of #99935 - CAD97:unstable-syntax-lints, r=petrochenkov 2022-08-20 19:45:10 +02:00
rustc_llvm Auto merge of #100627 - krasimirgg:lto-llvm-16, r=cuviper 2022-08-21 07:19:49 +00:00
rustc_log Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_macros fluent: point to path containing error instead of module name 2022-08-22 08:42:46 +02:00
rustc_metadata Auto merge of #100209 - cjgillot:source-file-index, r=estebank 2022-08-19 15:31:25 +00:00
rustc_middle More docs 2022-08-21 02:35:11 +00:00
rustc_mir_build Rollup merge of #100081 - RalfJung:unused-unsafe-in-unsafe-fn, r=jackh726 2022-08-19 12:26:40 +05:30
rustc_mir_dataflow
rustc_mir_transform Rollup merge of #100522 - cjgillot:inline-polymorphic-recursion, r=tmiasko 2022-08-19 12:26:43 +05:30
rustc_monomorphize Minor syntax and formatting update to doc comment 2022-08-19 10:53:18 -07:00
rustc_parse Use AttrVec in more places. 2022-08-22 07:35:33 +10:00
rustc_parse_format Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_passes Replace #[lint/warning/error] with #[diag] 2022-08-21 09:17:43 +02:00
rustc_plugin_impl
rustc_privacy Replace #[lint/warning/error] with #[diag] 2022-08-21 09:17:43 +02:00
rustc_query_impl Rollup merge of #100723 - 5225225:the-easy-ones, r=compiler-errors 2022-08-20 07:09:03 +02:00
rustc_query_system Auto merge of #100441 - nnethercote:shrink-ast-Attribute, r=petrochenkov 2022-08-16 07:54:22 +00:00
rustc_resolve Rollup merge of #100592 - cjgillot:debug-import-kind, r=TaKO8Ki 2022-08-19 12:26:44 +05:30
rustc_save_analysis
rustc_serialize Rollup merge of #100822 - WaffleLapkin:no_offset_question_mark, r=scottmcm 2022-08-21 16:54:07 +02:00
rustc_session Add Handler::struct_diagnostic() 2022-08-21 09:17:43 +02:00
rustc_smir Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_span More docs 2022-08-21 02:35:11 +00:00
rustc_symbol_mangling
rustc_target Rollup merge of #100636 - cutsoy:revert-77716, r=davidtwco 2022-08-20 19:45:13 +02:00
rustc_trait_selection Bless tests after #100769 2022-08-21 04:04:05 +00:00
rustc_traits Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_transmute ADD - diagnostic lints to rustc_transmute 2022-08-21 09:17:09 -04:00
rustc_ty_utils
rustc_type_ir ADD - diagnostic lints to type_ir 2022-08-18 13:33:03 -04:00
rustc_typeck Auto merge of #100654 - compiler-errors:rework-point-at-arg, r=estebank 2022-08-21 21:52:56 +00:00