Skip to content

Commit c5fc7c5

Browse files
committed
update error message in test/compile-fail/issue-26194.rs
1 parent 8aac984 commit c5fc7c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/issue-26194.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ struct S(String);
1212

1313
impl S {
1414
fn f(self: *mut S) -> String { self.0 }
15-
//~^ ERROR invalid `self` type
15+
//~^ ERROR raw pointer `self` is unstable
1616
}
1717

1818
fn main() { S("".to_owned()).f(); }

0 commit comments

Comments
 (0)