summaryrefslogtreecommitdiffstats
path: root/tests/ui/higher-ranked/trait-bounds/issue-95230.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/higher-ranked/trait-bounds/issue-95230.rs')
-rw-r--r--tests/ui/higher-ranked/trait-bounds/issue-95230.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/higher-ranked/trait-bounds/issue-95230.rs b/tests/ui/higher-ranked/trait-bounds/issue-95230.rs
new file mode 100644
index 000000000..49a1584d5
--- /dev/null
+++ b/tests/ui/higher-ranked/trait-bounds/issue-95230.rs
@@ -0,0 +1,11 @@
+// revisions: old next
+//[next] compile-flags: -Ztrait-solver=next
+//[old] check-pass
+//[next] known-bug: #109764
+
+
+pub struct Bar
+where
+ for<'a> &'a mut Self:;
+
+fn main() {}