1 error[E0658]: type alias impl trait is not permitted here
2 --> $DIR/issue-60407.rs:9:39
4 LL | static mut TEST: Option<Debuggable> = None;
7 = note: see issue #63065 <https://github.com/rust-lang/rust/issues/63065> for more information
8 = help: add `#![feature(impl_trait_in_bindings)]` to the crate attributes to enable
10 error: concrete type differs from previous defining opaque type use
11 --> $DIR/issue-60407.rs:16:1
13 LL | fn foo() -> Debuggable {
14 | ^^^^^^^^^^^^^^^^^^^^^^ expected `[type error]`, got `u32`
16 note: previous use here
17 --> $DIR/issue-60407.rs:9:1
19 LL | static mut TEST: Option<Debuggable> = None;
20 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22 error: aborting due to 2 previous errors
24 For more information about this error, try `rustc --explain E0658`.