diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-06-09 16:49:24 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-06-09 16:49:24 -0400 |
| commit | 2c75256c151774407e5f4a0e4c655604d34bee17 (patch) | |
| tree | 0729a88c2a2fd6edefa1005b7a1028126fc6fdb0 /src/libsyntax/parse/parser.rs | |
| parent | 7b0f2af27f18b6c81fe6a2faab0ba96e0da3bba5 (diff) | |
| download | rust-2c75256c151774407e5f4a0e4c655604d34bee17.tar.gz rust-2c75256c151774407e5f4a0e4c655604d34bee17.zip | |
Exise 'unsafe pointer' in favor of 'raw pointer'
Using two terms for one thing is confusing, these are called 'raw pointers' today.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index dcf6667b606..32066b74413 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -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: |
