blob: b8e0f46e4f8f696cedf56db2c8aa31d222023712 [file] [log] [blame]
//@ compile-flags: -Z parse-crate-root-only
#![feature(const_trait_impl)]
// This is going down the slice/array parsing route
impl [const] T {}
//~^ ERROR: expected identifier, found `]`
impl const T {}