summary refs log tree commit diff
path: root/src/test/ui/const-generics/invalid-constant-in-args.rs
blob: 40df237ee72eddb3effd6fbf47f509a63733ec60 (plain)
1
2
3
fn main() {
    let _: Vec<&str, "a"> = Vec::new(); //~ ERROR wrong number of const arguments
}