diff options
| author | Ralf Jung <post@ralfj.de> | 2020-01-19 10:11:16 -0600 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2020-01-19 10:11:16 -0600 |
| commit | 95934937bb32190c70ce48915cac14bb4609336d (patch) | |
| tree | a4c690d729283b219df3178174f30dac9ee96f29 /src | |
| parent | b77a7997a866573bdf835f9dc00012877d87a22f (diff) | |
| download | rust-95934937bb32190c70ce48915cac14bb4609336d.tar.gz rust-95934937bb32190c70ce48915cac14bb4609336d.zip | |
fix real_drop_in_place in comments
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/codegen/drop.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/recursion/issue-38591-non-regular-dropck-recursion.rs | 2 |
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 |
