Exise 'unsafe pointer' in favor of 'raw pointer'

Using two terms for one thing is confusing, these are called 'raw pointers' today.
This commit is contained in:
Steve Klabnik
2015-06-09 16:49:24 -04:00
parent 7b0f2af27f
commit 2c75256c15
22 changed files with 33 additions and 33 deletions

View File

@@ -4215,7 +4215,7 @@ impl<'a> Parser<'a> {
};
if self.is_self_ident() {
let span = self.span;
self.span_err(span, "cannot pass self by unsafe pointer");
self.span_err(span, "cannot pass self by raw pointer");
try!(self.bump());
}
// error case, making bogus self ident: