summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-consts/associated-const-outer-ty-refs.rs
blob: f32ca0cccfc91887ff6e9c68fdc9e08af1b9a90f (plain)
1
2
3
4
5
6
7
8
9
10
// run-pass
trait Lattice {
    const BOTTOM: Self;
}

impl<T> Lattice for Option<T> {
    const BOTTOM: Option<T> = None;
}

fn main(){}