rust/tests/ui/consts/issue-68684.rs

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

16 lines
136 B
Rust
Raw Normal View History

// check-pass
enum _Enum {
A(),
}
type _E = _Enum;
const fn _a() -> _Enum {
_E::A()
}
const _A: _Enum = _a();
fn main() {}