rust/tests/ui/parser/issue-103143.rs

6 lines
133 B
Rust
Raw Normal View History

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