Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
typeck
/
issue-57673-ice-on-deref-of-boxed-trait.rs
blob: 0a4e7da2bff50b60d17954047e170ce4cb11f2a8 [
file
] [
log
] [
blame
]
//extern crate has_assoc_type;
//fn ice(x: Box<dyn has_assoc_type::Foo<Assoc=()>>) {
fn
ice
(
x
:
Box
<
dyn
Iterator
<
Item
=()>>)
{
*
x
//~ ERROR mismatched types [E0308]
}
fn
main
()
{}