]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-24086.rs
4 #![allow(unused_variables)]
5 pub struct Registry
<'a
> {
9 pub struct Listener
<'a
> {
10 pub announce
: Option
<Box
<dyn FnMut(&mut Registry
) + 'a
>>,
11 pub remove
: Option
<Box
<dyn FnMut(&mut Registry
) + 'a
>>,
14 impl<'a
> Drop
for Registry
<'a
> {
19 let mut registry_listener
= Listener
{