about summary refs log tree commit diff
path: root/tests/ui/attributes/malformed-attrs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/attributes/malformed-attrs.rs')
-rw-r--r--tests/ui/attributes/malformed-attrs.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/attributes/malformed-attrs.rs b/tests/ui/attributes/malformed-attrs.rs
index a09fe86557d..aa52de63a60 100644
--- a/tests/ui/attributes/malformed-attrs.rs
+++ b/tests/ui/attributes/malformed-attrs.rs
@@ -47,6 +47,7 @@
 //~^ ERROR malformed
 #[repr]
 //~^ ERROR malformed
+//~| ERROR is not supported on function items
 #[rustc_as_ptr = 5]
 //~^ ERROR malformed
 #[inline = 5]