mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
11 lines
177 B
Rust
11 lines
177 B
Rust
//@ known-bug: rust-lang/rust#126182
|
|
|
|
#![feature(generic_const_exprs)]
|
|
#![allow(incomplete_features)]
|
|
|
|
struct Cond<const B: bool>;
|
|
|
|
struct Thing<T = Cond<0>>(T);
|
|
|
|
impl Thing {}
|