diff options
| author | bors <bors@rust-lang.org> | 2021-03-17 19:39:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-03-17 19:39:03 +0000 |
| commit | 36f1f04f18b89ba4a999bcfd6584663fd6fc1c5d (patch) | |
| tree | b459b40c8e394c6495440e7b5a7595c99e951ea3 /src/test/codegen | |
| parent | b4adc21c4fa245994b4936df5b4f7d94ca633c5d (diff) | |
| parent | 49aa79ec11fe40c67e160d9663addb7a0b7151f9 (diff) | |
| download | rust-36f1f04f18b89ba4a999bcfd6584663fd6fc1c5d.tar.gz rust-36f1f04f18b89ba4a999bcfd6584663fd6fc1c5d.zip | |
Auto merge of #82122 - bstrie:dep4real, r=dtolnay
Deprecate `intrinsics::drop_in_place` and `collections::Bound`, which accidentally weren't deprecated Fixes #82080. I've taken the liberty of updating the `since` values to 1.52, since an unobservable deprecation isn't much of a deprecation (even the detailed release notes never bothered to mention these deprecations). As mentioned in the issue I'm *pretty* sure that using a type alias for `Bound` is semantically equivalent to the re-export; [the reference implies](https://doc.rust-lang.org/reference/items/type-aliases.html) that type aliases only observably differ from types when used on unit structs or tuple structs, whereas `Bound` is an enum.
Diffstat (limited to 'src/test/codegen')
| -rw-r--r-- | src/test/codegen/drop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/codegen/drop.rs b/src/test/codegen/drop.rs index 99a791464ab..b35d5c83552 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::intrinsics::drop_in_place::<drop::SomeUniqueName>` +// comment, that's `; call core::ptr::drop_in_place::<drop::SomeUniqueName>` // for the `v0` mangling, should switch to matching on that once `legacy` is gone. // CHECK-NOT: call void @{{.*}}drop_in_place{{.*}}SomeUniqueName // CHECK: invoke void @{{.*}}drop_in_place{{.*}}SomeUniqueName |
