blob: a61ca256baf916fbee4dfafef3776c89e6ada1ad [file]
#![feature(
generic_const_exprs,
min_generic_const_args,
macroless_generic_const_args,
inherent_associated_types
)]
struct OnDiskDirEntry<'a>(&'a ());
impl<'a> OnDiskDirEntry<'a> {
type const LFN_FRAGMENT_LEN: i64 = 2;
fn lfn_contents() -> [char; Self::LFN_FRAGMENT_LEN] {
//~^ ERROR the constant `2` is not of type `usize`
loop {}
}
}
fn main() {}