]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #97765 - RalfJung:restoration, r=Mark-Simulacrum
authorMatthias Krüger <matthias.krueger@famsik.de>
Mon, 6 Jun 2022 06:37:05 +0000 (08:37 +0200)
committerGitHub <noreply@github.com>
Mon, 6 Jun 2022 06:37:05 +0000 (08:37 +0200)
Restore a test that was intended to test `as` cast to ptr

This test was changed in https://github.com/rust-lang/rust/pull/61864, but the original bug https://github.com/rust-lang/rust/issues/46365 was about casts so I doubt the changed test still even tests what this was intended to test. Let's restore the original test.


Trivial merge