2023-08-14 13:09:53 +00:00
|
|
|
error[E0283]: type annotations needed
|
2022-04-28 13:25:36 +00:00
|
|
|
--> $DIR/where-allowed-2.rs:3:30
|
|
|
|
|
|
|
|
|
LL | fn in_adt_in_return() -> Vec<impl Debug> { panic!() }
|
|
|
|
| ^^^^^^^^^^ cannot infer type
|
2023-08-14 13:09:53 +00:00
|
|
|
|
|
|
|
|
= note: cannot satisfy `_: Debug`
|
2022-04-28 13:25:36 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2022-04-28 13:25:36 +00:00
|
|
|
|
2023-08-14 13:09:53 +00:00
|
|
|
For more information about this error, try `rustc --explain E0283`.
|