update error message in test/compile-fail/issue-26194.rs
This commit is contained in:
parent
8aac984e40
commit
c5fc7c5293
1 changed files with 1 additions and 1 deletions
|
|
@ -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(); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue