Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
ui
/
suggestions
/
use-type-argument-instead-of-assoc-type.rs
blob: 78487bd7bb58c73b826322f476bd565f53894fc8 [
file
] [
log
] [
blame
]
pub
trait
T
<
X
,
Y
>
{
type
A
;
type
B
;
type
C
;
}
pub
struct
Foo
{
i
:
Box
<
dyn T
<
usize
,
usize
,
usize
,
usize
,
B
=
usize
>>,
//~^ ERROR must be specified
//~| ERROR wrong number of type arguments
}
fn
main
()
{}