rust/tests/ui/associated-consts/associated-const-outer-ty-refs.rs
2023-01-11 09:32:08 +00:00

11 lines
138 B
Rust

// run-pass
trait Lattice {
const BOTTOM: Self;
}
impl<T> Lattice for Option<T> {
const BOTTOM: Option<T> = None;
}
fn main(){}