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
111 B
Rust
Raw Normal View History

pub static FOO: u32 = FOO;
//~^ ERROR cycle detected when evaluating initializer of static `FOO`
fn main() {}