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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
92 B
Rust
Raw Normal View History

2023-07-09 20:10:03 -05:00
static S<T>: i32 = 0;
//~^ ERROR static items may not have generic parameters
fn main() {}