Sign in
rust
/
rust
/
e8a63124746761e743d69ea510194de2ada4034f
/
.
/
tests
/
ui
/
type-alias
/
missing-associated-type-in-trait-object-22434.rs
blob: 35b30374c15cce2ed82c0339183dd2b6e541bfc6 [
file
] [
log
] [
blame
]
// https://github.com/rust-lang/rust/issues/22434
pub
trait
Foo
{
type
A
;
}
type
I
<
'a> = &'
a
(
dyn
Foo
+
'
a
);
//~^ ERROR the value of the associated type `A` in `Foo` must be specified
fn
main
()
{}