about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-07-18 21:14:49 +0530
committerGitHub <noreply@github.com>2022-07-18 21:14:49 +0530
commit068a559fbbe7e0e018b66e8798295ca4f97236b5 (patch)
tree11f4068689d66abcfa280e1e96ccfecf3979a63e
parenta47a090d514dd6285d20067e02a058c733be3df0 (diff)
parent5172a2f5ce0df276525c2e7b8d09024fda6fc8cd (diff)
downloadrust-068a559fbbe7e0e018b66e8798295ca4f97236b5.tar.gz
rust-068a559fbbe7e0e018b66e8798295ca4f97236b5.zip
Rollup merge of #99394 - JohnTitor:issue-95230, r=compiler-errors
Add regression test for #95230

Closes #95230
r? ```@compiler-errors```

Signed-off-by: Yuki Okushi <jtitor@2k36.org>
-rw-r--r--src/test/ui/hrtb/issue-95230.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/ui/hrtb/issue-95230.rs b/src/test/ui/hrtb/issue-95230.rs
new file mode 100644
index 00000000000..92c506eabb7
--- /dev/null
+++ b/src/test/ui/hrtb/issue-95230.rs
@@ -0,0 +1,7 @@
+// check-pass
+
+pub struct Bar
+where
+    for<'a> &'a mut Self:;
+
+fn main() {}