mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-16 05:56:56 +00:00
9 lines
212 B
Rust
9 lines
212 B
Rust
//@ known-bug: #136894
|
|
#![feature(generic_const_exprs)]
|
|
#![crate_type = "lib"]
|
|
#![allow(incomplete_features, dead_code)]
|
|
|
|
struct X<T>([(); f::<T>()]) where [(); f::<T>()]:;
|
|
|
|
const fn f<T>() -> usize { panic!() }
|