mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00
11 lines
186 B
Rust
11 lines
186 B
Rust
#![feature(explicit_tail_calls)]
|
|
#![expect(incomplete_features)]
|
|
|
|
const _: () = f();
|
|
|
|
const fn f() {
|
|
become f(); //~ error: constant evaluation is taking a long time
|
|
}
|
|
|
|
fn main() {}
|