rust/tests/ui/consts/const-eval/field-access-after-const-eval-fail-in-ty.rs

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

6 lines
130 B
Rust
Raw Normal View History

// Regression test for issue #120615.
fn main() {
[(); loop {}].field; //~ ERROR constant evaluation is taking a long time
}