]>
Commit | Line | Data |
---|---|---|
6a06907d | 1 | error: implementation of `FnOnce` is not general enough |
5869c6ff XL |
2 | --> $DIR/issue-79187.rs:5:5 |
3 | | | |
4 | LL | thing(f); | |
6a06907d | 5 | | ^^^^^ implementation of `FnOnce` is not general enough |
5869c6ff | 6 | | |
6a06907d XL |
7 | = note: closure with signature `fn(&'2 u32)` must implement `FnOnce<(&'1 u32,)>`, for any lifetime `'1`... |
8 | = note: ...but it actually implements `FnOnce<(&'2 u32,)>`, for some specific lifetime `'2` | |
5869c6ff XL |
9 | |
10 | error: aborting due to previous error | |
11 |