blob: 0ef17109bed40333528f57bc90f1cbb6181a53b5 [file] [log] [blame]
#![feature(min_const_generics)]
fn a<const X: &'static [u32]>() {}
//~^ ERROR `&'static [u32]` is forbidden as the type of a const generic parameter
fn main() {
a::<{&[]}>();
}