> - pub fn init_full<'timer, 'opaque: 'timer, T, F>(
> - &'timer mut self,
> + pub fn new_full<'opaque, T, F>(
> timer_list_group: Option<&TimerListGroup>,
> clk_type: ClockType,
> scale: u32,
> attributes: u32,
> _cb: F,
> opaque: &'opaque T,
> - ) where
> + ) -> Pin<Box<Self>>
> F: for<'a> FnCall<(&'a T,)>,
> {
Ah, the lifetime here isn't effectively bound... However, I also
referred to your latest code [1] :), and it seems that this issue
has already been fixed. (Nit: The code still has a complaint from
`cargo fmt`)
[1]:
https://gitlab.com/bonzini/qemu/-/commit/ccb9f6dc738f503a696d8d50f1b5e4576ee80bc6
Regards,
Zhao