about summary refs log tree commit diff
path: root/library/coretests/tests/mem.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/coretests/tests/mem.rs')
-rw-r--r--library/coretests/tests/mem.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/coretests/tests/mem.rs b/library/coretests/tests/mem.rs
index 1b5c5fc82a6..9cb94ca3b0f 100644
--- a/library/coretests/tests/mem.rs
+++ b/library/coretests/tests/mem.rs
@@ -648,7 +648,7 @@ fn offset_of_dst() {
         z: dyn Trait,
     }
 
-    extern "C" {
+    unsafe extern "C" {
         type Extern;
     }