summary refs log tree commit diff
path: root/src/test/ui/issues/issue-34780.rs
blob: 3202ef64021620f05e2bd65617a300124e8720f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
// build-pass (FIXME(62277): could be 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() {}