diff options
| author | Xiretza <xiretza@xiretza.xyz> | 2024-04-14 20:11:14 +0000 |
|---|---|---|
| committer | Xiretza <xiretza@xiretza.xyz> | 2024-05-21 20:16:39 +0000 |
| commit | b7abf014ec85e362c10bd7dc222a1a71968bc427 (patch) | |
| tree | 4c005667da7cd68196ba6af51ecfb738f96e6094 /compiler/rustc_builtin_macros/messages.ftl | |
| parent | 41a20b4c5659d93ef01051351f012c04fea1a38a (diff) | |
| download | rust-b7abf014ec85e362c10bd7dc222a1a71968bc427.tar.gz rust-b7abf014ec85e362c10bd7dc222a1a71968bc427.zip | |
Convert uses of BuiltinLintDiag::Normal to custom variants
This ensures all diagnostic messages are created at diagnostic emission time, making them translatable.
Diffstat (limited to 'compiler/rustc_builtin_macros/messages.ftl')
| -rw-r--r-- | compiler/rustc_builtin_macros/messages.ftl | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_builtin_macros/messages.ftl b/compiler/rustc_builtin_macros/messages.ftl index 0f158990319..a3d6a1c7360 100644 --- a/compiler/rustc_builtin_macros/messages.ftl +++ b/compiler/rustc_builtin_macros/messages.ftl @@ -247,5 +247,3 @@ builtin_macros_unexpected_lit = expected path to a trait, found literal .label = not a trait .str_lit = try using `#[derive({$sym})]` .other = for example, write `#[derive(Debug)]` for `Debug` - -builtin_macros_unnameable_test_items = cannot test inner items |
