]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0308]: mismatched types |
0731742a | 2 | --> $DIR/issue-40000.rs:6:9 |
8faf50e0 | 3 | | |
532ac7d7 | 4 | LL | foo(bar); |
72b1a166 | 5 | | ^^^ one type is more general than the other |
8faf50e0 | 6 | | |
72b1a166 FG |
7 | = note: expected trait object `dyn for<'r> Fn(&'r i32)` |
8 | found trait object `dyn Fn(&i32)` | |
8faf50e0 XL |
9 | |
10 | error: aborting due to previous error | |
11 | ||
12 | For more information about this error, try `rustc --explain E0308`. |