Sign in
fuchsia
/
third_party
/
rust
/
f233a4c18bec906dab0b8531f326a15fadece547
/
.
/
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
}