]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/resolve-self-in-impl.rs
New upstream version 1.27.1+dfsg1
[rustc.git] / src / test / compile-fail / resolve-self-in-impl.rs
index 7210c857125d6d9e026acdc9273fed733dc26d95..2a894c57b8df19c5a83d9b131f7d0de6ffb90d06 100644 (file)
@@ -21,10 +21,10 @@ impl Tr for S where Self: Copy {} // OK
 impl Tr for S where S<Self>: Copy {} // OK
 impl Tr for S where Self::A: Copy {} // OK
 
-impl Tr for Self {} //~ ERROR cyclic dependency detected
-impl Tr for S<Self> {} //~ ERROR cyclic dependency detected
-impl Self {} //~ ERROR cyclic dependency detected
-impl S<Self> {} //~ ERROR cyclic dependency detected
-impl Tr<Self::A> for S {} //~ ERROR cyclic dependency detected
+impl Tr for Self {} //~ ERROR cycle detected
+impl Tr for S<Self> {} //~ ERROR cycle detected
+impl Self {} //~ ERROR cycle detected
+impl S<Self> {} //~ ERROR cycle detected
+impl Tr<Self::A> for S {} //~ ERROR cycle detected
 
 fn main() {}