Sign in
fuchsia
/
third_party
/
rust
/
33c2ceb3a2b769fb3f2f6019b1071439f0dc6444
/
.
/
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
()
{}