rust/tests/ui/lifetimes/issue-83907-invalid-fn-like-path.rs
2024-02-16 20:02:50 +00:00

8 lines
119 B
Rust

//@ check-fail
static STATIC_VAR_FIVE: &One();
//~^ cannot find type
//~| free static item without body
fn main() {}