summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/where-allowed-2.stderr
blob: b3765ac1a541ffc39bf45f76566120007643ab4f (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 previous error

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