From 5172a2f5ce0df276525c2e7b8d09024fda6fc8cd Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Mon, 18 Jul 2022 10:15:09 +0900 Subject: [PATCH] Add regression test for #95230 Signed-off-by: Yuki Okushi --- src/test/ui/hrtb/issue-95230.rs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/test/ui/hrtb/issue-95230.rs diff --git a/src/test/ui/hrtb/issue-95230.rs b/src/test/ui/hrtb/issue-95230.rs new file mode 100644 index 0000000000000..92c506eabb7f4 --- /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() {}