ignore unused_parens warning

parens are generated by external macro
This commit is contained in:
Skgland
2025-11-18 21:42:00 +01:00
committed by Bennet Bleßmann
parent bf8651db29
commit 119761ad10
8 changed files with 10 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
#![allow(clippy::new_without_default)] // annotating structs annotated with #[bitfield] doesn't work
#![allow(unused_parens)] // see mthom/scryer-prolog#3092 and rust-lang/rust#147126
#[cfg(feature = "http")]
use crate::http::{HttpListener, HttpResponse};

View File

@@ -1,4 +1,5 @@
#![allow(clippy::new_without_default)] // annotating structs annotated with #[bitfield] doesn't work
#![allow(unused_parens)] // see mthom/scryer-prolog#3092 and rust-lang/rust#147126
use crate::parser::ast::MAX_ARITY;
use crate::raw_block::*;

View File

@@ -1,4 +1,5 @@
#![allow(clippy::new_without_default)] // annotating structs annotated with #[bitfield] doesn't work
#![allow(unused_parens)] // see mthom/scryer-prolog#3092 and rust-lang/rust#147126
#[cfg(test)]
pub(crate) use crate::machine::gc::StacklessPreOrderHeapIter;

View File

@@ -1,3 +1,5 @@
#![allow(unused_parens)] // see mthom/scryer-prolog#3092 and rust-lang/rust#147126
use fxhash::FxBuildHasher;
use indexmap::IndexSet;

View File

@@ -1,4 +1,5 @@
#![allow(clippy::new_without_default)] // annotating structs annotated with #[bitfield] doesn't work
#![allow(unused_parens)] // see mthom/scryer-prolog#3092 and rust-lang/rust#147126
use crate::parser::ast::*;

View File

@@ -1,3 +1,5 @@
#![allow(unused_parens)] // see mthom/scryer-prolog#3092 and rust-lang/rust#147126
use crate::arena::*;
use crate::atom_table::*;
use crate::functor_macro::*;

View File

@@ -1,4 +1,5 @@
#![allow(clippy::new_without_default)] // annotating structs annotated with #[bitfield] doesn't work
#![allow(unused_parens)] // see mthom/scryer-prolog#3092 and rust-lang/rust#147126
use crate::arena::*;
use crate::atom_table::*;

View File

@@ -1,4 +1,5 @@
#![allow(clippy::new_without_default)] // annotating structs annotated with #[bitfield] doesn't work
#![allow(unused_parens)] // see mthom/scryer-prolog#3092 and rust-lang/rust#147126
use crate::arena::*;
use crate::atom_table::*;