rust/tests/ui/parser/generic-statics.rs

5 lines
92 B
Rust

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