Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
object-safety
/
assoc_type_bounds_implicit_sized.rs
blob: c3e958f498390c35d4bf7e9588bcb8e20b9336fe [
file
] [
log
] [
blame
]
// run-rustfix
trait
TraitWithAType
{
type
Item
;
}
trait
Trait
{}
struct
A
{}
impl
TraitWithAType
for
A
{
type
Item
=
dyn
Trait
;
//~ ERROR E0277
}
fn
main
()
{}