blob: 1c3274f6a37642498968017c5aefc307cbb366a8 [file] [log] [blame]
// Make sure we don't ICE when encountering an fn item during lowering in mGCA.
#![feature(min_generic_const_args)]
//~^ WARN the feature `min_generic_const_args` is incomplete
trait A<T> {}
impl A<[usize; fn_item]> for () {}
//~^ ERROR the constant `fn_item` is not of type `usize`
fn fn_item() {}
fn main() {}