Sign in
fuchsia
/
third_party
/
rust
/
a9aa2dfe844840a7e414873ce55ef9d02f1038a7
/
.
/
src
/
test
/
ui
/
unevaluated_fixed_size_array_len.rs
blob: 6c545913dd9dc66b39eba960c9046a1df8fb8e80 [
file
] [
log
] [
blame
]
// https://github.com/rust-lang/rust/issues/49208
trait
Foo
{
fn
foo
();
}
impl
Foo
for
[();
1
]
{
fn
foo
()
{}
}
fn
main
()
{
<[();
0
]
as
Foo
>::
foo
()
//~ ERROR E0277
}