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-10 01:10:03 +00:00
static S<T>: i32 = 0;
//~^ ERROR static items may not have generic parameters
fn main() {}