mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-24 21:53:56 +00:00
5e57e27d7a
replace build with check Co-authored-by: Michael Goulet <michael@errs.io> use appropriate test name
10 lines
191 B
Rust
10 lines
191 B
Rust
// check-pass
|
|
|
|
#![feature(generic_const_exprs)]
|
|
#![feature(inline_const)]
|
|
#![allow(incomplete_features)]
|
|
|
|
pub struct ConstDefaultUnstable<const N: usize = { const { 3 } }>;
|
|
|
|
pub fn main() {}
|