update error message in test/compile-fail/issue-26194.rs

This commit is contained in:
Michael Hewson 2017-12-11 18:18:44 +01:00
parent 8aac984e40
commit c5fc7c5293

View file

@ -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(); }