summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-34780.rs
blob: fbedad35b864a70718207c41a462e61b43eadd33 (plain)
1
2
3
4
5
6
7
8
9
10
11
// check-pass
#![allow(stable_features)]
#![feature(associated_consts)]

use std::marker::PhantomData;

trait Tr<'a> {
    const C: PhantomData<&'a u8> = PhantomData::<&'a u8>;
}

fn main() {}