Rollup merge of #74197 - estebank:self-sugg, r=petrochenkov

Reword incorrect `self` token suggestion
This commit is contained in:
Manish Goregaokar 2020-07-11 08:53:23 -07:00 committed by GitHub
commit e15fa4537c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@ LL | this.x
| ^^^^
| |
| not found in this scope
| help: did you mean: `self`
| help: you might have meant to use `self` here instead
error[E0425]: cannot find value `this` in this scope
--> $DIR/suggest-self.rs:26:9
@ -14,7 +14,7 @@ LL | this.foo()
| ^^^^
| |
| not found in this scope
| help: did you mean: `self`
| help: you might have meant to use `self` here instead
error[E0425]: cannot find value `my` in this scope
--> $DIR/suggest-self.rs:31:9
@ -23,7 +23,7 @@ LL | my.bar()
| ^^
| |
| not found in this scope
| help: did you mean: `self`
| help: you might have meant to use `self` here instead
error: aborting due to 3 previous errors