#![feature(freeze)] //@ check-pass use std::marker::Freeze; trait Trait { const VALUE: T; const VALUE_REF: &'static T = &Self::VALUE; } fn main() {}