]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/where-allowed-2.stderr
Rollup merge of #98441 - calebzulawski:simd_as, r=oli-obk
[rust.git] / src / test / 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`.