]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #87250 - robojumper:87199-sized-relaxation, r=nikomatsakis
authorbors <bors@rust-lang.org>
Thu, 22 Jul 2021 05:02:50 +0000 (05:02 +0000)
committerbors <bors@rust-lang.org>
Thu, 22 Jul 2021 05:02:50 +0000 (05:02 +0000)
commit7db08eeb0057de86ea2bdbd4c3a085cb8516b653
treee316a0d57d088d13f9fd22aba0556f3bd003c29d
parent8024983ea73e1d1c16720a424d39fd1c239eee68
parent3dbe0cebd876572d7ff692041a825ed4b0a4316a
Auto merge of #87250 - robojumper:87199-sized-relaxation, r=nikomatsakis

Fix implicit Sized relaxation when attempting to relax other, unsupported trait

Fixes #87199.

Do note that this bug fix causes code like the `ref_arg::<[i32]>(&[5]);` line in the test case in combination with an affected function to no longer compile.