Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
traits
/
object
/
object-unsafe-missing-assoc-type.rs
blob: 21f7fd92e80da1fb88157fa46117557999dae277 [
file
] [
log
] [
blame
]
trait
Foo
{
type
Bar
<
T
>;
}
fn
bar
(
x
:
&
dyn
Foo
)
{}
//~ ERROR the trait `Foo` cannot be made into an object
fn
main
()
{}