]> git.proxmox.com Git - rustc.git/blame - src/test/ui/lifetimes/issue-79187.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / lifetimes / issue-79187.stderr
CommitLineData
6a06907d 1error: implementation of `FnOnce` is not general enough
5869c6ff
XL
2 --> $DIR/issue-79187.rs:5:5
3 |
4LL | 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
10error: aborting due to previous error
11