We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 83d5c24 + dae7c36 commit f32c09bCopy full SHA for f32c09b
src/test/ui/trait-bounds/issue-75961.rs
@@ -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