This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
10b08e3c9c
rust
/
tests
/
ui
/
static
/
static-vec-repeat-not-constant.rs
7 lines
93 B
Rust
Raw
Normal View
History
Unescape
Escape
Update compile fail tests to use isize.
2015-01-08 04:54:35 -06:00
fn
foo
(
)
->
isize
{
23
}
Add test for repeat expr in statics.
2013-08-12 20:15:19 -05:00
Update compile fail tests to use isize.
2015-01-08 04:54:35 -06:00
static
a
:
[
isize
;
2
]
=
[
foo
(
)
;
2
]
;
Make various fixes: - add feature gate - add basic tests - adjust parser to eliminate conflict between `const fn` and associated constants - allow `const fn` in traits/trait-impls, but forbid later in type check - correct some merge conflicts
2015-05-05 07:47:04 -05:00
//~^ ERROR: E0015
Add test for repeat expr in statics.
2013-08-12 20:15:19 -05:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink