about summary refs log tree commit diff
path: root/src/test/ui/resolve/issue-23305.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/resolve/issue-23305.rs')
-rw-r--r--src/test/ui/resolve/issue-23305.rs9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/test/ui/resolve/issue-23305.rs b/src/test/ui/resolve/issue-23305.rs
index 19069f49167..9f7b6ff5767 100644
--- a/src/test/ui/resolve/issue-23305.rs
+++ b/src/test/ui/resolve/issue-23305.rs
@@ -13,10 +13,9 @@ pub trait ToNbt<T> {
 }
 
 impl ToNbt<Self> {}
-//~^ ERROR unresolved type `Self`
-//~| NOTE `Self` is only available in traits and impls
-//~| ERROR the trait `ToNbt` cannot be made into an object
-//~| NOTE the trait `ToNbt` cannot be made into an object
-//~| NOTE method `new` has no receiver
+//~^ ERROR unsupported cyclic reference
+//~| NOTE cyclic reference
+//~| NOTE the cycle begins when processing
+//~| NOTE ...which then again requires
 
 fn main() {}