about summary refs log tree commit diff
path: root/compiler/rustc_errors
diff options
context:
space:
mode:
authorDavid Wood <david.wood@huawei.com>2022-07-11 18:59:04 +0100
committerDavid Wood <david.wood@huawei.com>2022-07-15 16:13:49 +0100
commit78b19a90b7d728f3bde6a70a2509ae177561ce5f (patch)
tree9f3eaa4d150e69cc192bc56bd8a11fd5690020f0 /compiler/rustc_errors
parent81cf2294b4d912ec410696c5e2dec7659243d191 (diff)
downloadrust-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.rs1
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,
 );