summary refs log tree commit diff
path: root/src/test/ui/impl-trait/where-allowed-2.stderr
blob: 1de15014c1f8dd3cd46ce46f92d597eaffd3fc71 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0720]: opaque type expands to a recursive type
  --> $DIR/where-allowed-2.rs:6:30
   |
LL | fn in_adt_in_return() -> Vec<impl Debug> { panic!() }
   |                              ^^^^^^^^^^ expands to a recursive type
   |
   = note: type resolves to itself

error: aborting due to previous error

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