blob: 6d9c05d9c68b5cb48c4f732a5bc8b0e333969e62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//@ compile-flags: --crate-type=lib -Cdebuginfo=2
//@ build-pass
#![feature(type_alias_impl_trait)]
pub type Debuggable = impl core::fmt::Debug;
#[define_opaque(Debuggable)]
fn foo() -> Debuggable {
0u32
}
static mut TEST: Option<Debuggable> = None;
|