]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-consts/associated-const-outer-ty-refs.rs
unboxed-closures and type-alias-impl-trait nll revisions
[rust.git] / src / test / ui / associated-consts / associated-const-outer-ty-refs.rs
1 // run-pass
2 trait Lattice {
3     const BOTTOM: Self;
4 }
5
6 impl<T> Lattice for Option<T> {
7     const BOTTOM: Option<T> = None;
8 }
9
10 fn main(){}