]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/class-missing-self.rs
Rollup merge of #82259 - osa1:issue82156, r=petrochenkov
[rust.git] / src / test / ui / class-missing-self.rs
index 515754e54fe07fee5dee776f8280f84a6b8bcf7e..8ad347d20e6e43d37c18fbb40f734c48555102e6 100644 (file)
@@ -7,7 +7,7 @@ fn sleep(&self) { loop{} }
     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
     }
 
 }