1 error[E0658]: existential types are unstable
2 --> $DIR/issue-60371.rs:8:5
4 LL | existential type Item: Bug;
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: for more information, see https://github.com/rust-lang/rust/issues/63063
8 = help: add `#![feature(existential_type)]` to the crate attributes to enable
10 error[E0277]: the trait bound `(): Bug` is not satisfied
11 --> $DIR/issue-60371.rs:8:5
13 LL | existential type Item: Bug;
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Bug` is not implemented for `()`
16 = help: the following implementations were found:
18 = note: the return type of a function must have a statically known size
20 error: could not find defining uses
21 --> $DIR/issue-60371.rs:8:5
23 LL | existential type Item: Bug;
24 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
26 error: aborting due to 3 previous errors
28 Some errors have detailed explanations: E0277, E0658.
29 For more information about an error, try `rustc --explain E0277`.