Skip to content

Commit f32c09b

Browse files
authored
Rollup merge of #90304 - vandenheuvel:test_issue_75961, r=Mark-Simulacrum
Add regression test for #75961 Closes #75961. Closes #21203.
2 parents 83d5c24 + dae7c36 commit f32c09b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// check-pass
2+
3+
pub fn foo<'a>(s: &'a mut ()) where &'a mut (): Clone {
4+
<&mut () as Clone>::clone(&s);
5+
}
6+
7+
fn main() {}

0 commit comments

Comments
 (0)