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