]> git.lizzy.rs Git - rust.git/blob - tests/ui/impl-trait/where-allowed-2.stderr
Auto merge of #106171 - compiler-errors:consolidate-extract_callable_info, r=estebank...
[rust.git] / tests / ui / impl-trait / where-allowed-2.stderr
1 error[E0282]: type annotations needed
2   --> $DIR/where-allowed-2.rs:3:30
3    |
4 LL | fn in_adt_in_return() -> Vec<impl Debug> { panic!() }
5    |                              ^^^^^^^^^^ cannot infer type
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0282`.