diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-08-21 19:35:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-21 19:35:11 +0200 |
| commit | 47af700fe6dac24d2b3b4635290c561639b63e6c (patch) | |
| tree | 661006dc39a97fb582c6a1bd3d2a66b1759a429c /compiler/rustc_interface/src | |
| parent | 65386c045e6c9d020ae6703b2b5151edc3f1b595 (diff) | |
| parent | e94a4ee219e6c91d78bc3dd76298c5be6139a909 (diff) | |
| download | rust-47af700fe6dac24d2b3b4635290c561639b63e6c.tar.gz rust-47af700fe6dac24d2b3b4635290c561639b63e6c.zip | |
Rollup merge of #128941 - GrigorenkoPV:internal-diagnostic-lints, r=davidtwco
Improve diagnostic-related lints: `untranslatable_diagnostic` & `diagnostic_outside_of_impl` Summary: - Made `untranslatable_diagnostic` point to problematic arguments instead of the function call (I found this misleading while working on some `A-translation` PRs: my first impression was that the methods themselves were not translation-aware and needed to be changed, while in reality the problem was with the hardcoded strings passed as arguments). - Made the shared pass of `untranslatable_diagnostic` & `diagnostic_outside_of_impl` more efficient. `@rustbot` label D-imprecise-spans A-translation
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
