rust/tests/ui/recursion/recursive-static-definition.rs

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

5 lines
106 B
Rust
Raw Normal View History

pub static FOO: u32 = FOO;
2020-09-07 10:30:38 -05:00
//~^ ERROR cycle detected when const-evaluating + checking `FOO`
fn main() {}