rust/tests/ui/generic-const-items/recursive.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
260 B
Rust
Raw Normal View History

2023-07-09 20:10:03 -05:00
// FIXME(generic_const_items): This leads to a stack overflow in the compiler!
//@ known-bug: unknown
//@ ignore-test
#![feature(generic_const_items)]
#![allow(incomplete_features)]
const RECUR<T>: () = RECUR::<(T,)>;
fn main() {
let _ = RECUR::<()>;
}