about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-01-19 10:11:16 -0600
committerRalf Jung <post@ralfj.de>2020-01-19 10:11:16 -0600
commit95934937bb32190c70ce48915cac14bb4609336d (patch)
treea4c690d729283b219df3178174f30dac9ee96f29 /src
parentb77a7997a866573bdf835f9dc00012877d87a22f (diff)
downloadrust-95934937bb32190c70ce48915cac14bb4609336d.tar.gz
rust-95934937bb32190c70ce48915cac14bb4609336d.zip
fix real_drop_in_place in comments
Diffstat (limited to 'src')
-rw-r--r--src/test/codegen/drop.rs2
-rw-r--r--src/test/ui/recursion/issue-38591-non-regular-dropck-recursion.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/codegen/drop.rs b/src/test/codegen/drop.rs
index 959929fbafb..0c7f3bb2020 100644
--- a/src/test/codegen/drop.rs
+++ b/src/test/codegen/drop.rs
@@ -21,7 +21,7 @@ pub fn droppy() {
 // regular function exit. We used to have problems with quadratic growths of drop calls in such
 // functions.
 // FIXME(eddyb) the `void @` forces a match on the instruction, instead of the
-// comment, that's `; call core::ptr::real_drop_in_place::<drop::SomeUniqueName>`
+// comment, that's `; call core::intrinsics::drop_in_place::<drop::SomeUniqueName>`
 // for the `v0` mangling, should switch to matching on that once `legacy` is gone.
 // CHECK-NOT: invoke void @{{.*}}drop_in_place{{.*}}SomeUniqueName
 // CHECK: call void @{{.*}}drop_in_place{{.*}}SomeUniqueName
diff --git a/src/test/ui/recursion/issue-38591-non-regular-dropck-recursion.rs b/src/test/ui/recursion/issue-38591-non-regular-dropck-recursion.rs
index 0fcf77d8722..d9996b80ac0 100644
--- a/src/test/ui/recursion/issue-38591-non-regular-dropck-recursion.rs
+++ b/src/test/ui/recursion/issue-38591-non-regular-dropck-recursion.rs
@@ -1,6 +1,6 @@
 // Dropck shouldn't hit a recursion limit from checking `S<u32>` since it has
 // no free regions or type parameters.
-// Codegen however, has to error for the infinitely many `real_drop_in_place`
+// Codegen however, has to error for the infinitely many `drop_in_place`
 // functions it has been asked to create.
 // build-fail