]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Auto merge of #68088 - oli-obk:fix_miri, r=RalfJung
authorbors <bors@rust-lang.org>
Mon, 13 Jan 2020 17:39:01 +0000 (17:39 +0000)
committerbors <bors@rust-lang.org>
Mon, 13 Jan 2020 17:39:01 +0000 (17:39 +0000)
commit31dd4f4acbcbdb02b0745d2136399ed664a28050
treef23b2164b102686755c4bd7ac1cf7f2204b103a2
parentbf84eb538fd16743240434b3e837b36c35719fee
parent19b9b26986246b92e1f686a9a7b29da42a79ed9f
Auto merge of #68088 - oli-obk:fix_miri, r=RalfJung

Don't try to force_ptr pointers to zsts

r? @RalfJung

cc @wesleywiser

This is required to fix miri after https://github.com/rust-lang/rust/pull/67501 broke it. The reason only miri sees this is that it uses validation on values during interpretation and not just on the final value of constants, which never contain such values.