We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d9e64b commit 61520c8Copy full SHA for 61520c8
src/test/ui/intrinsics/issue-84297-reifying-copy.rs
@@ -0,0 +1,9 @@
1
+// check-pass
2
+
3
+fn main() {
4
+ let _unused = if true {
5
+ core::ptr::copy::<i32>
6
+ } else {
7
+ core::ptr::copy_nonoverlapping::<i32>
8
+ };
9
+}
0 commit comments