summary refs log tree commit diff
path: root/src/test/run-pass/issue-19398.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/issue-19398.rs')
-rw-r--r--src/test/run-pass/issue-19398.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/issue-19398.rs b/src/test/run-pass/issue-19398.rs
index 1196162568a..e603167b26b 100644
--- a/src/test/run-pass/issue-19398.rs
+++ b/src/test/run-pass/issue-19398.rs
@@ -9,11 +9,11 @@
 // except according to those terms.
 
 trait T {
-    unsafe extern "Rust" fn foo();
+    unsafe extern "Rust" fn foo(&self);
 }
 
 impl T for () {
-    unsafe extern "Rust" fn foo() {}
+    unsafe extern "Rust" fn foo(&self) {}
 }
 
 fn main() {}