1 error[E0658]: `impl Trait` in type aliases is unstable
2 --> $DIR/issue-60371.rs:8:17
4 LL | type Item = impl Bug;
7 = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
8 = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable
10 error[E0277]: the trait bound `(): Bug` is not satisfied
11 --> $DIR/issue-60371.rs:10:40
13 LL | const FUN: fn() -> Self::Item = || ();
14 | ^^ the trait `Bug` is not implemented for `()`
16 = help: the trait `Bug` is implemented for `&()`
18 error: aborting due to 2 previous errors
20 Some errors have detailed explanations: E0277, E0658.
21 For more information about an error, try `rustc --explain E0277`.