rust/tests/ui/parser/generic-statics.rs
2023-07-28 22:23:20 +02:00

5 lines
92 B
Rust

static S<T>: i32 = 0;
//~^ ERROR static items may not have generic parameters
fn main() {}