You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// from src/tools/miri/tests/pass/issues/issue-23261.rs// Matching on a DST struct should not trigger an LLVM assertion.structFoo<T: ?Sized>{a:i32,inner:T,}traitGet{fnget(&self) -> i32;}implGetfori32{fnget(&self) -> i32{*self}}fnmain(){// boomlet foo:&Foo<[u8]> = &Foo{a:32,inner:[1,2,3]};// boomlet foo:&Foo<dynGet> = &Foo{a:32,inner:32};}
edition 2015
ra reports a type mismatch here which rustc doesnt:
edition 2015
ra reports a type mismatch here which rustc doesnt:
The text was updated successfully, but these errors were encountered: