rust/compiler/rustc_macros/src
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
..
diagnostics fluent: point to path containing error instead of module name 2022-08-22 08:42:46 +02:00
symbols Use iter::zip in compiler/ 2021-03-26 09:32:31 -07:00
hash_stable.rs more clippy fixes 2021-11-07 16:59:05 +01:00
lib.rs Replace #[lint/warning/error] with #[diag] 2022-08-21 09:17:43 +02:00
lift.rs Lift: take self by value 2020-10-21 23:59:35 +02:00
newtype.rs Use delayed error handling for Encodable and Encoder infallible. 2022-06-08 07:01:26 +10:00
query.rs Move ty::print methods to Drop-based scope guards 2022-02-16 17:24:23 -05:00
serialize.rs Use delayed error handling for Encodable and Encoder infallible. 2022-06-08 07:01:26 +10:00
symbols.rs Use a separate interner type for UniqueTypeId 2021-09-13 14:42:06 +02:00
type_foldable.rs Add #[derive(TypeVisitable)] 2022-07-05 22:25:15 +01:00
type_visitable.rs Add #[derive(TypeVisitable)] 2022-07-05 22:25:15 +01:00