This website requires JavaScript.
Explore
Sign In
mirror
/
rust
mirror of
https://github.com/rust-lang/rust
Watch
1
Star
0
Fork
You've already forked rust
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
master
rust
/
tests
/
ui
/
static
/
static-vec-repeat-not-const...
7 lines
93 B
Rust
Raw
Permalink
Blame
History
fn
foo
(
)
->
isize
{
23
}
static
a
:
[
isize
;
2
]
=
[
foo
(
)
;
2
]
;
//~^ ERROR: E0015
fn
main
(
)
{
}
Reference in New Issue
View Git Blame
Copy Permalink