Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
794181788d94b7bc9e4717b97313f525054c4710
/
.
/
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
()
{}