summary refs log tree commit diff
path: root/src/test/ui/impl-trait/where-allowed-2.stderr
blob: b8e06725cbcdd6493683dc2ca34fd4d775d5cc27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error[E0720]: cannot resolve opaque type
  --> $DIR/where-allowed-2.rs:6:30
   |
LL | fn in_adt_in_return() -> Vec<impl Debug> { panic!() }
   |                              ^^^^^^^^^^    -------- this returned value is of `!` type
   |                              |
   |                              cannot resolve opaque type
   |
   = help: this error will resolve once the item's body returns a concrete type

error: aborting due to previous error

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