about summary refs log tree commit diff
path: root/tests/crashes/138089.rs
blob: acf27072bdd5b9019faa9facdd5642622cdbeacf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ known-bug: #138089
#![feature(generic_const_exprs)]
#![feature(min_generic_const_args)]
#![feature(inherent_associated_types)]
struct OnDiskDirEntry<'a> {}

impl<'a> OnDiskDirEntry<'a> {
    const LFN_FRAGMENT_LEN: i64 = 2;

    fn lfn_contents() -> [char; Self::LFN_FRAGMENT_LEN] {
        loop {}
    }
}