This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-05-07 15:37:39 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
29b51cdff3
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 10:54:35 +00:00
fn
foo
(
)
->
isize
{
23
}
Add test for repeat expr in statics.
2013-08-13 01:15:19 +00:00
Update compile fail tests to use isize.
2015-01-08 10:54:35 +00: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 12:47:04 +00:00
//~^ ERROR: E0015
Add test for repeat expr in statics.
2013-08-13 01:15:19 +00:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink