blob: e21627e14b098ad88b1f40933e7197368e3d2c48 [file] [log] [blame]
//@ check-pass
#![feature(type_alias_impl_trait)]
use std::fmt::Debug;
pub type Foo = impl Debug;
#[define_opaque(Foo)]
const _FOO: Foo = 5;
#[define_opaque(Foo)]
static _BAR: Foo = 22_i32;
fn main() {}