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