diff options
| author | bors <bors@rust-lang.org> | 2019-10-28 13:41:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-10-28 13:41:13 +0000 |
| commit | 8d78bf6b273848d17da8f5c92162c6a6b9b10dfd (patch) | |
| tree | 5d19d9a52e7311543dccd0a9e43fe16d63aef336 /src/test/ui/class-missing-self.rs | |
| parent | 03a50ae9b87021d4a166c70d2c932f1cb0aa8f28 (diff) | |
| parent | b26ddb8af37362e33c45c78c9c91a3c5cdabfe7e (diff) | |
Auto merge of #65421 - estebank:variants, r=petrochenkov
Point at local similarly named element and tweak references to variants Partially address #65386.
Diffstat (limited to 'src/test/ui/class-missing-self.rs')
| -rw-r--r-- | src/test/ui/class-missing-self.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/class-missing-self.rs b/src/test/ui/class-missing-self.rs index 515754e54fe..8ad347d20e6 100644 --- a/src/test/ui/class-missing-self.rs +++ b/src/test/ui/class-missing-self.rs @@ -7,7 +7,7 @@ impl Cat { fn meow(&self) { println!("Meow"); meows += 1; //~ ERROR cannot find value `meows` in this scope - sleep(); //~ ERROR cannot find function `sleep` in this scope + sleep(); //~ ERROR cannot find function `sleep` in this } } |
