about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2025-02-19 16:47:28 +0000
committerEsteban Küber <esteban@kuber.com.ar>2025-03-07 23:26:48 +0000
commitf0dec714f3b6b6feaa5a0f40685e1e520636dff5 (patch)
tree7b937c7ef07ffc5f74d5dec71ed028b93b93b289 /tests/ui/patchable-function-entry
parent03eb45452305f2d52348279d0caa5fc1f12c438d (diff)
downloadrust-f0dec714f3b6b6feaa5a0f40685e1e520636dff5.tar.gz
rust-f0dec714f3b6b6feaa5a0f40685e1e520636dff5.zip
Make some invalid codegen attr errors structured/translatable
Diffstat (limited to 'tests/ui/patchable-function-entry')
-rw-r--r--tests/ui/patchable-function-entry/patchable-function-entry-attribute.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/patchable-function-entry/patchable-function-entry-attribute.stderr b/tests/ui/patchable-function-entry/patchable-function-entry-attribute.stderr
index d9710c6e6a2..9357a86c415 100644
--- a/tests/ui/patchable-function-entry/patchable-function-entry-attribute.stderr
+++ b/tests/ui/patchable-function-entry/patchable-function-entry-attribute.stderr
@@ -20,7 +20,7 @@ error: unexpected parameter name
   --> $DIR/patchable-function-entry-attribute.rs:13:46
    |
 LL | #[patchable_function_entry(prefix_nops = 10, something = 0)]
-   |                                              ^^^^^^^^^^^^^ expected prefix_nops or entry_nops
+   |                                              ^^^^^^^^^^^^^ expected `prefix_nops` or `entry_nops`
 
 error: must specify at least one parameter
   --> $DIR/patchable-function-entry-attribute.rs:16:1