summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/transparent-maybeunit-array-wrapper.rs
blob: 926e807feb0b4893314a9eb527e5d3ff637d8fa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// run-pass
// revisions: full min

#![cfg_attr(full, feature(adt_const_params))]
#![cfg_attr(full, allow(incomplete_features))]

use std::mem::MaybeUninit;

#[repr(transparent)]
pub struct MaybeUninitWrapper<const N: usize>(MaybeUninit<[u64; N]>);

fn main() {}