We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b61b1b commit dae7c36Copy full SHA for dae7c36
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