This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
14e59bb317
rust
/
tests
/
ui
/
consts
/
check_const-feature-gated.rs
8 lines
82 B
Rust
Raw
Normal View
History
Unescape
Escape
tests: Add missing run-pass annotations
2019-07-27 00:54:25 +03:00
// run-pass
fix const index feature-gate regression
2015-12-04 15:35:07 +01:00
const
ARR
:
[
usize
;
1
]
=
[
2
]
;
fn
main
(
)
{
let
_
=
5
<
<
ARR
[
0
]
;
}
Copy permalink