diff options
| author | David Wood <david.wood@huawei.com> | 2022-07-11 18:59:04 +0100 |
|---|---|---|
| committer | David Wood <david.wood@huawei.com> | 2022-07-15 16:13:49 +0100 |
| commit | 78b19a90b7d728f3bde6a70a2509ae177561ce5f (patch) | |
| tree | 9f3eaa4d150e69cc192bc56bd8a11fd5690020f0 /compiler/rustc_errors | |
| parent | 81cf2294b4d912ec410696c5e2dec7659243d191 (diff) | |
| download | rust-78b19a90b7d728f3bde6a70a2509ae177561ce5f.tar.gz rust-78b19a90b7d728f3bde6a70a2509ae177561ce5f.zip | |
passes: migrate half of `check_attr`
Migrate half of the `rustc_passes::check_attr` diagnostics to using diagnostic derives and being translatable.
Diffstat (limited to 'compiler/rustc_errors')
| -rw-r--r-- | compiler/rustc_errors/src/diagnostic.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_errors/src/diagnostic.rs b/compiler/rustc_errors/src/diagnostic.rs index 0ce7f3c7e82..267beb51484 100644 --- a/compiler/rustc_errors/src/diagnostic.rs +++ b/compiler/rustc_errors/src/diagnostic.rs @@ -64,6 +64,7 @@ into_diagnostic_arg_using_display!( i128, u128, std::num::NonZeroU32, + hir::Target, Edition, Ident, ); |
