Skip to content

Commit 9593493

Browse files
committed
fix real_drop_in_place in comments
1 parent b77a799 commit 9593493

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/codegen/drop.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub fn droppy() {
2121
// regular function exit. We used to have problems with quadratic growths of drop calls in such
2222
// functions.
2323
// FIXME(eddyb) the `void @` forces a match on the instruction, instead of the
24-
// comment, that's `; call core::ptr::real_drop_in_place::<drop::SomeUniqueName>`
24+
// comment, that's `; call core::intrinsics::drop_in_place::<drop::SomeUniqueName>`
2525
// for the `v0` mangling, should switch to matching on that once `legacy` is gone.
2626
// CHECK-NOT: invoke void @{{.*}}drop_in_place{{.*}}SomeUniqueName
2727
// CHECK: call void @{{.*}}drop_in_place{{.*}}SomeUniqueName

src/test/ui/recursion/issue-38591-non-regular-dropck-recursion.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Dropck shouldn't hit a recursion limit from checking `S<u32>` since it has
22
// no free regions or type parameters.
3-
// Codegen however, has to error for the infinitely many `real_drop_in_place`
3+
// Codegen however, has to error for the infinitely many `drop_in_place`
44
// functions it has been asked to create.
55
// build-fail
66

0 commit comments

Comments
 (0)