mirror of
https://git.proxmox.com/git/proxmox
synced 2025-07-26 08:53:44 +00:00
macro: clear a warning
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
14acfcd5cd
commit
3a36ff78df
@ -701,6 +701,7 @@ fn named_struct_impl_verify(span: Span, fields: &[StructField]) -> Result<TokenS
|
|||||||
|
|
||||||
if !body.is_empty() {
|
if !body.is_empty() {
|
||||||
body = quote_spanned! { span =>
|
body = quote_spanned! { span =>
|
||||||
|
#[allow(unused_mut)]
|
||||||
let mut error_string = String::new();
|
let mut error_string = String::new();
|
||||||
#body
|
#body
|
||||||
if !error_string.is_empty() {
|
if !error_string.is_empty() {
|
||||||
|
Loading…
Reference in New Issue
Block a user