]> Repositorios git - scryer-prolog.git/commitdiff
clippy: allow new without default
authorBennet Bleßmann <[email protected]>
Sat, 6 Jul 2024 11:04:55 +0000 (13:04 +0200)
committerBennet Bleßmann <[email protected]>
Sat, 6 Jul 2024 11:04:55 +0000 (13:04 +0200)
src/arena.rs
src/arithmetic.rs
src/atom_table.rs
src/heap_iter.rs
src/machine/machine_indices.rs
src/parser/ast.rs
src/types.rs

index 9cf74ea8aafeb48593bb9913d3242ee31c97fe23..bf78f39c582d4c4e0d1cbedb8635051affc4fc07 100644 (file)
@@ -1,3 +1,5 @@
+#![allow(clippy::new_without_default)] // annotating structs annotated with #[bitfield] doesn't work
+
 #[cfg(feature = "http")]
 use crate::http::{HttpListener, HttpResponse};
 use crate::machine::loader::LiveLoadState;
index 747ef65de1dbaf19c8463606290d3324e39755ca..6b595c36c45755db0ca0d1da0cc9004ad6944237 100644 (file)
@@ -1,3 +1,5 @@
+#![allow(clippy::new_without_default)] // annotating structs annotated with #[bitfield] doesn't work
+
 use crate::allocator::*;
 use crate::arena::*;
 use crate::atom_table::*;
index 0f8c4951347574e746bb49c69936f92b71a792fe..5216f6a31736840fb246eee4144d5e06b9dcc456 100644 (file)
@@ -1,3 +1,5 @@
+#![allow(clippy::new_without_default)] // annotating structs annotated with #[bitfield] doesn't work
+
 use crate::parser::ast::MAX_ARITY;
 use crate::raw_block::*;
 use crate::rcu::{Rcu, RcuRef};
index 4c1425ab434a98ca71a3b8a5418681a59d12dff0..61fde0ebb4f36965d7c7437277ed9ecab4fcd4fd 100644 (file)
@@ -1,3 +1,5 @@
+#![allow(clippy::new_without_default)] // annotating structs annotated with #[bitfield] doesn't work
+
 #[cfg(test)]
 pub(crate) use crate::machine::gc::StacklessPreOrderHeapIter;
 
index be47f4dafca816c612d1b2afdd753a73cbe7b7a4..cecdef22c4cf9a6cc3de175aae50dc45b7a88740 100644 (file)
@@ -1,3 +1,5 @@
+#![allow(clippy::new_without_default)] // annotating structs annotated with #[bitfield] doesn't work
+
 use crate::parser::ast::*;
 
 use crate::arena::*;
index 7b3022eab0f5477c1a433bf48d20977ea28112fc..0e98aca846cffc7eb84545c17b87570814fb6981 100644 (file)
@@ -1,3 +1,5 @@
+#![allow(clippy::new_without_default)] // annotating structs annotated with #[bitfield] doesn't work
+
 use crate::arena::*;
 use crate::atom_table::*;
 use crate::machine::machine_indices::*;
index 40209ebfe4262ab47734fe7c4a1c33f886fce0b4..c83fb4830b229053d9f2ea30a130c678b7c1583d 100644 (file)
@@ -1,3 +1,5 @@
+#![allow(clippy::new_without_default)] // annotating structs annotated with #[bitfield] doesn't work
+
 use crate::arena::*;
 use crate::atom_table::*;
 use crate::forms::*;