about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Hewson <michael@michaelhewson.ca>2017-12-11 18:18:44 +0100
committerMichael Hewson <michael@michaelhewson.ca>2017-12-17 10:13:09 +0100
commitc5fc7c52930f304785deef66738caed0f9df9ba9 (patch)
tree916d105f9e41f581c8f050e9d5c1f5bed0535b07
parent8aac984e408272cb3bd40c7cdda41c4842b7edad (diff)
update error message in test/compile-fail/issue-26194.rs
-rw-r--r--src/test/compile-fail/issue-26194.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/issue-26194.rs b/src/test/compile-fail/issue-26194.rs
index 7ddd56229ce..3936055552d 100644
--- a/src/test/compile-fail/issue-26194.rs
+++ b/src/test/compile-fail/issue-26194.rs
@@ -12,7 +12,7 @@ struct S(String);
 
 impl S {
     fn f(self: *mut S) -> String { self.0 }
-    //~^ ERROR invalid `self` type
+    //~^ ERROR raw pointer `self` is unstable
 }
 
 fn main() { S("".to_owned()).f(); }