1 error[E0271]: type mismatch resolving `<[closure@$DIR/issue-63279.rs:6:5: 6:28] as std::ops::FnOnce<()>>::Output == ()`
2 --> $DIR/issue-63279.rs:3:1
4 LL | type Closure = impl FnOnce();
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected opaque type, found `()`
7 = note: expected opaque type `Closure`
9 = note: the return type of a function must have a statically known size
11 error: aborting due to previous error
13 For more information about this error, try `rustc --explain E0271`.