2019-11-04 00:00:00 +00:00
|
|
|
// check-pass
|
2018-08-31 15:02:01 +02:00
|
|
|
#![allow(stable_features)]
|
2017-07-25 11:31:59 +09:00
|
|
|
#![feature(associated_consts)]
|
|
|
|
|
|
|
|
use std::marker::PhantomData;
|
|
|
|
|
|
|
|
trait Tr<'a> {
|
|
|
|
const C: PhantomData<&'a u8> = PhantomData::<&'a u8>;
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|