Sign in
fuchsia
/
third_party
/
rust
/
1e5ec0a12c73efdd9a492fdc7ab661d90dc5bcf5
/
.
/
tests
/
ui
/
typeck
/
repeat-expr-checks-wf.rs
blob: b8a2a0ceb58807f8e39be26950ffd30c8b3eb133 [
file
] [
log
] [
blame
]
trait
Foo
{
const
ASSOC
:
[
u8
];
}
fn
bar
<
T
:
Foo
>()
{
let
a
=
[
T
::
ASSOC
;
2
];
//~^ ERROR: the size for values of type `[u8]` cannot be known at compilation time
}
fn
main
()
{}