summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/well-formed-recursion-limit.stderr
blob: 6f5fda02315c01b122ccaf52930b964bb03b0989 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
error[E0609]: no field `ab` on type `(Box<(dyn Fn(Option<A>) -> Option<B> + 'static)>, Box<(dyn Fn(Option<B>) -> Option<A> + 'static)>)`
  --> $DIR/well-formed-recursion-limit.rs:12:23
   |
LL |     let (ab, ba) = (i.ab, i.ba);
   |                       ^^ unknown field

error[E0609]: no field `ba` on type `(Box<(dyn Fn(Option<A>) -> Option<B> + 'static)>, Box<(dyn Fn(Option<B>) -> Option<A> + 'static)>)`
  --> $DIR/well-formed-recursion-limit.rs:12:29
   |
LL |     let (ab, ba) = (i.ab, i.ba);
   |                             ^^ unknown field

error[E0275]: overflow evaluating the requirement `_ <: Option<_>`
  --> $DIR/well-formed-recursion-limit.rs:15:33
   |
LL |     let left = move |o_a| match o_a {
   |                                 ^^^

error: aborting due to 3 previous errors

Some errors have detailed explanations: E0275, E0609.
For more information about an error, try `rustc --explain E0275`.