summaryrefslogtreecommitdiff
path: root/tests/ui/generic-associated-types/issue-88595.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/generic-associated-types/issue-88595.rs')
-rw-r--r--tests/ui/generic-associated-types/issue-88595.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/generic-associated-types/issue-88595.rs b/tests/ui/generic-associated-types/issue-88595.rs
index 5a40a612972..7de906e7ef3 100644
--- a/tests/ui/generic-associated-types/issue-88595.rs
+++ b/tests/ui/generic-associated-types/issue-88595.rs
@@ -19,4 +19,5 @@ impl<'a> A<'a> for C {
type B<'b> = impl Clone;
fn a(&'a self) -> Self::B<'a> {} //~ ERROR: non-defining opaque type use in defining scope
+ //~^ ERROR: mismatched types
}