blob: 7d462f057cb84eefc7b8702e9af92fb8bd85f5ad [file] [log] [blame]
// check-pass
#![feature(type_alias_impl_trait)]
type Debuggable = impl core::fmt::Debug;
static mut TEST: Option<Debuggable> = None;
fn main() {
unsafe { TEST = Some(foo()) }
}
fn foo() -> Debuggable {
0u32
}