rust/tests/ui/parser/misspelled-keywords/const-generics.rs

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

5 lines
84 B
Rust
Raw Normal View History

2024-09-02 02:27:43 +00:00
fn foo<consta N: usize>(_arr: [i32; N]) {}
//~^ ERROR expected one of
fn main() {}