]> Repositorios git - scryer-prolog.git/commitdiff
ignore unused_parens warning
authorSkgland <[email protected]>
Tue, 18 Nov 2025 20:42:00 +0000 (21:42 +0100)
committerBennet Bleßmann <[email protected]>
Tue, 18 Nov 2025 20:42:00 +0000 (21:42 +0100)
parens are generated by external macro

src/arena.rs
src/atom_table.rs
src/heap_iter.rs
src/machine/copier.rs
src/machine/machine_indices.rs
src/machine/streams.rs
src/parser/ast.rs
src/types.rs

index 11db758170734cc927b6ff3143621323977202bc..09c5272856c86af0e7417d523b1f157d4a888ddb 100644 (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};
index d7796d732e5931508e015c14ea2afa356d14d436..cb4e5230c638548b84fe93c3c22af0a7fe28ce02 100644 (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::*;
index ceefe4a9a68bb10f976739789d0cb7343d408660..7031408265b5bc1295ab24a234458e6b2fb87acf 100644 (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;
index 110371bc7d005c29cd671f66cdc8a649177d7175..965902df608cd1b21f1ea71768596326d7262c40 100644 (file)
@@ -1,3 +1,5 @@
+#![allow(unused_parens)] // see mthom/scryer-prolog#3092 and rust-lang/rust#147126
+
 use fxhash::FxBuildHasher;
 use indexmap::IndexSet;
 
index 7f7bfe35eb705f55a6574229579aa8afa666a41e..a2cb505083a61be4a743e88294cb3cf8f8bf5fb7 100644 (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::*;
 
index c0f5c7b36195f5182b07a248efcbe3dbd87c409c..0d88ca5846cd61f590f285c812e97ab42d8d70d4 100644 (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::*;
index 9effb51eb83d288bca3716c71863b4c00d888415..3728da75f9a66bf7b74f38b32b60ae99942353bd 100644 (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::*;
index 97df4bc4d4d1fe40ab46c103d0dff65a43fc7ac8..4549c3eac9d3a342e92c9b36490fce5576afca7f 100644 (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::*;