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