rust/tests/ui/associated-consts/associated-const-outer-ty-refs.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
142 B
Rust
Raw Normal View History

//@ check-pass
2024-02-07 02:42:01 +00:00
trait Lattice {
const BOTTOM: Self;
}
impl<T> Lattice for Option<T> {
const BOTTOM: Option<T> = None;
}
fn main(){}