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