--> proxmox-ve-config/src/sdn/config.rs:547:40 | 544 | pub fn ipsets<'a>( | -- lifetime `'a` declared here ... 547 | ) -> impl Iterator<Item = Ipset> + '_ { | ^^ this elided lifetime gets resolved as `'a` | = note: `#[warn(elided_named_lifetimes)]` on by default
warning: `proxmox-ve-config` (lib) generated 1 warning Signed-off-by: Stefan Hanreich <s.hanre...@proxmox.com> --- proxmox-ve-config/src/sdn/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox-ve-config/src/sdn/config.rs b/proxmox-ve-config/src/sdn/config.rs index 7ee1101..880efc2 100644 --- a/proxmox-ve-config/src/sdn/config.rs +++ b/proxmox-ve-config/src/sdn/config.rs @@ -544,7 +544,7 @@ impl SdnConfig { pub fn ipsets<'a>( &'a self, filter: Option<&'a Allowlist<VnetName>>, - ) -> impl Iterator<Item = Ipset> + '_ { + ) -> impl Iterator<Item = Ipset> + 'a { self.zones .values() .flat_map(|zone| zone.vnets()) -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel