blob: e21627e14b098ad88b1f40933e7197368e3d2c48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//@ 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() {}
|