1 error[E0282]: type annotations needed
2 --> $DIR/where-allowed-2.rs:3:30
4 LL | fn in_adt_in_return() -> Vec<impl Debug> { panic!() }
5 | ^^^^^^^^^^ cannot infer type
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0282`.