summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/where-allowed-2.stderr
blob: 2b328c01c8729998f85b871b95e296662c03d1fe (plain)
1
2
3
4
5
6
7
8
9
error[E0282]: type annotations needed
  --> $DIR/where-allowed-2.rs:3:30
   |
LL | fn in_adt_in_return() -> Vec<impl Debug> { panic!() }
   |                              ^^^^^^^^^^ cannot infer type

error: aborting due to previous error

For more information about this error, try `rustc --explain E0282`.