Sign in
fuchsia
/
third_party
/
rust
/
d782f09ae0b88a73a69e2fa3169222cdbc47d4ec
/
.
/
src
/
test
/
ui
/
issues
/
issue-39559-2.rs
blob: 3a52e4d6216a5e30b944953c1210c8b410265212 [
file
] [
log
] [
blame
]
trait
Dim
{
fn
dim
()
->
usize
;
}
enum
Dim3
{}
impl
Dim
for
Dim3
{
fn
dim
()
->
usize
{
3
}
}
fn
main
()
{
let
array
:
[
usize
;
Dim3
::
dim
()]
//~^ ERROR E0015
//~| ERROR E0080
=
[
0
;
Dim3
::
dim
()];
//~^ ERROR E0015
//~| ERROR E0080
}