rust/src/test/ui/issues/issue-34780.rs
2019-07-03 06:30:28 +09:00

12 lines
230 B
Rust

// 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() {}