about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-07-18 10:15:09 +0900
committerYuki Okushi <jtitor@2k36.org>2022-07-18 10:15:09 +0900
commit5172a2f5ce0df276525c2e7b8d09024fda6fc8cd (patch)
tree1e3f2fcbf45a7dbbf6efbf240760c284c6142022 /src
parent246f66a905c2815f2c9b9c3d6b1e0649f3360ef8 (diff)
downloadrust-5172a2f5ce0df276525c2e7b8d09024fda6fc8cd.tar.gz
rust-5172a2f5ce0df276525c2e7b8d09024fda6fc8cd.zip
Add regression test for #95230
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
Diffstat (limited to 'src')
-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() {}