blob: 2319de556836616f2f6b0a9d89ad972bc64c55b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// normalize-stderr-test: "`.*`" -> "`DEF_ID`"
// normalize-stdout-test: "`.*`" -> "`DEF_ID`"
// edition:2018
pub async fn f() -> impl std::fmt::Debug {
#[derive(Debug)]
enum E {
//~^ ERROR recursive type `f::{closure#0}::E` has infinite size
This(E),
Unit,
}
E::Unit
}
fn main() {}
|