about summary refs log tree commit diff
path: root/tests/ui/impl-trait/failed-to-resolve-instance-ice-123145.stderr
blob: f61e8c2f8dfeacfe06703fd10995c545ff8309ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0275]: overflow evaluating the requirement `(fn() -> impl Handler {one},): Handler`
   |
note: required for `fn() -> impl Handler {one}` to implement `Handler`
  --> $DIR/failed-to-resolve-instance-ice-123145.rs:10:32
   |
LL | impl<H: Handler, F: Fn() -> H> Handler for F {}
   |         -------                ^^^^^^^     ^
   |         |
   |         unsatisfied trait bound introduced here
   = note: 2 redundant requirements hidden
   = note: required for `fn() -> impl Handler {one}` to implement `Handler`

error: aborting due to 1 previous error

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