mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 06:28:20 +03:00
be650a7ecd
This adds a bunch of revisions to const-generic tests
14 lines
308 B
Rust
14 lines
308 B
Rust
// run-pass
|
|
// revisions: full min
|
|
|
|
#![cfg_attr(full, feature(const_generics))]
|
|
#![cfg_attr(full, allow(incomplete_features))]
|
|
#![cfg_attr(min, feature(min_const_generics))]
|
|
|
|
use std::mem::MaybeUninit;
|
|
|
|
#[repr(transparent)]
|
|
pub struct MaybeUninitWrapper<const N: usize>(MaybeUninit<[u64; N]>);
|
|
|
|
fn main() {}
|