]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-6642.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-6642.rs
index 2c1809d4d4886f45c25a7f5ff87a679d10eeaa17..1fe10ba7a27bba10bc7d762c6671b85a4452cb03 100644 (file)
@@ -13,7 +13,6 @@ impl A {
     fn m(&self) {
         fn x() {
             self.m() //~ ERROR can't capture dynamic environment in a fn item
-            //~^ ERROR unresolved name `self`
         }
     }
 }