about summary refs log tree commit diff
path: root/tests/ui/attributes/multiple-invalid.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/attributes/multiple-invalid.rs')
-rw-r--r--tests/ui/attributes/multiple-invalid.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/attributes/multiple-invalid.rs b/tests/ui/attributes/multiple-invalid.rs
index ae044eb843b..49d1aeed604 100644
--- a/tests/ui/attributes/multiple-invalid.rs
+++ b/tests/ui/attributes/multiple-invalid.rs
@@ -2,9 +2,9 @@
 // on an item.
 
 #[inline]
-//~^ ERROR attribute should be applied to function or closure [E0518]
+//~^ ERROR attribute cannot be used on
 #[target_feature(enable = "sse2")]
-//~^ ERROR attribute should be applied to a function
+//~^ ERROR attribute cannot be used on
 const FOO: u8 = 0;
 
 fn main() { }