about summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0718.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/error-codes/E0718.rs')
-rw-r--r--src/test/ui/error-codes/E0718.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/error-codes/E0718.rs b/src/test/ui/error-codes/E0718.rs
index 82ab2d4af1b..909cae0ba25 100644
--- a/src/test/ui/error-codes/E0718.rs
+++ b/src/test/ui/error-codes/E0718.rs
@@ -1,7 +1,7 @@
 #![feature(lang_items)]
 
-// Arc is expected to be a struct, so this will error.
-#[lang = "arc"] //~ ERROR language item must be applied to a struct
+// Box is expected to be a struct, so this will error.
+#[lang = "owned_box"] //~ ERROR language item must be applied to a struct
 static X: u32 = 42;
 
 fn main() {}