blob: 748a279e43989521e548e817598db416d1643876 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#![feature(type_alias_impl_trait)]
#![allow(dead_code)]
// check-pass
use std::fmt::Debug;
type Foo = impl Debug;
static FOO1: Foo = 22_u32;
const FOO2: Foo = 22_u32;
fn main() {}
|