We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ea75e2 commit 6043a32Copy full SHA for 6043a32
tests/codegen/clone-shims.rs
@@ -8,6 +8,8 @@
8
pub type Test = (i32, i32, *const i32);
9
pub static TEST: fn(&Test) -> Test = <Test as core::clone::Clone>::clone;
10
11
+// CHECK-NOT: call <i32 as core::clone::Clone>::clone
12
+// CHECK-NOT: call <*const i32 as core::clone::Clone>::clone
13
// CHECK: ; <(i32, i32, *const i32) as core::clone::Clone>::clone
14
// CHECK-NOT: call <i32 as core::clone::Clone>::clone
15
// CHECK-NOT: call <*const i32 as core::clone::Clone>::clone
0 commit comments