rust/tests/ui/parser/issue-103143.rs
2023-01-11 09:32:08 +00:00

6 lines
133 B
Rust

fn main() {
x::<#[a]y::<z>>
//~^ ERROR invalid const generic expression
//~| ERROR cannot find value `x` in this scope
}