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 15:30:38 +00:00
//~^ ERROR cycle detected when const-evaluating + checking `FOO`
fn main() {}