Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
error[E0425]: cannot find value `this` in this scope | ||
--> $DIR/suggest-self.rs:31:9 | ||
| | ||
LL | this.x | ||
| ^^^^ | ||
| | | ||
| not found in this scope | ||
| help: do you mean: `self` | ||
|
||
error[E0425]: cannot find value `this` in this scope | ||
--> $DIR/suggest-self.rs:36:9 | ||
| | ||
LL | this.foo() | ||
| ^^^^ | ||
| | | ||
| not found in this scope | ||
| help: do you mean: `self` | ||
|
||
error[E0425]: cannot find value `my` in this scope | ||
--> $DIR/suggest-self.rs:41:9 | ||
| | ||
LL | my.bar() | ||
| ^^ | ||
| | | ||
| not found in this scope | ||
| help: do you mean: `self` | ||
|
||
error: aborting due to 3 previous errors | ||
|
||
For more information about this error, try `rustc --explain E0425`. |