blob: bf8e78e903f7c72eba33ffe7377db77347b56016 [file] [log] [blame]
#![feature(lang_items)]
#[lang = "sized"]
trait Sized {}
struct Foo<T, const N: usize> {
value: [T; N],
}
fn main() {
let foo: Foo<_, _>;
// { dg-error {type provided when a constant was expected .E0747.} "" { target *-*-* } .-1 }
}