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

error: aborting due to 1 previous error

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