Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
const-generics
/
issue-60818-struct-constructors.rs
blob: b810efe73847e10c10ccda303e2a645136583642 [
file
] [
log
] [
blame
]
// build-pass (FIXME(62277): could be check-pass?)
#![
feature
(
const_generics
)]
//~^ WARN the feature `const_generics` is incomplete and may cause the compiler to crash
struct
Generic
<
const
V
:
usize
>;
fn
main
()
{
let
_
=
Generic
::<
0
>;
}