This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Issues
Pull requests
Activity
daeb449640
rust
/
tests
/
ui
/
inline-const
/
const-expr-array-init.rs
8 lines
95 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ build-pass
Add inline const tests
2020-10-06 17:53:12 -03:00
use
std
::
cell
::
Cell
;
fn
main
(
)
{
let
_x
=
[
const
{
Cell
::
new
(
0
)
}
;
20
]
;
}
Reference in a new issue
Copy permalink