Skip to content

Commit

Permalink
update error message in test/compile-fail/issue-26194.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeyhew committed Dec 17, 2017
1 parent 8aac984 commit c5fc7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/compile-fail/issue-26194.rs
Expand Up @@ -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(); }

0 comments on commit c5fc7c5

Please sign in to comment.