the following code ices on nightly: ``` rust #![feature(const_fn, associated_consts)] trait Trait { const N: usize; } impl Trait { const fn n() -> usize { Self::N } } ``` It should give an error instead noting that you can't do `Self::N`.
the following code ices on nightly:
It should give an error instead noting that you can't do
Self::N.