summaryrefslogtreecommitdiffstats
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.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/resolve/issue-23305.rs b/src/test/ui/resolve/issue-23305.rs
index 95635e12a..6d7fe7c50 100644
--- a/src/test/ui/resolve/issue-23305.rs
+++ b/src/test/ui/resolve/issue-23305.rs
@@ -3,6 +3,6 @@ pub trait ToNbt<T> {
}
impl dyn ToNbt<Self> {}
-//~^ ERROR cycle detected
+//~^ ERROR `Self` is not valid in the self type of an impl block
fn main() {}