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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user