]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-3668.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-3668.rs
index 9b7476244f0d26a19e0d91639fea3c306c20406f..9c31dc1e38ef8ff312193b105a73e9346e9d0153 100644 (file)
@@ -17,7 +17,6 @@ impl PTrait for P {
    fn getChildOption(&self) -> Option<Box<P>> {
        static childVal: Box<P> = self.child.get();
        //~^ ERROR attempt to use a non-constant value in a constant
-       //~| ERROR unresolved name `self`
        panic!();
    }
 }