diff --git a/all-is-cubes-base/src/math/coord.rs b/all-is-cubes-base/src/math/coord.rs index 5bda3a926..4d20ef5f7 100644 --- a/all-is-cubes-base/src/math/coord.rs +++ b/all-is-cubes-base/src/math/coord.rs @@ -1,8 +1,8 @@ //! Numeric types used for coordinates and related quantities. -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use euclid::{Box3D, Point3D, Size2D, Size3D, Vector3D}; diff --git a/all-is-cubes-base/src/math/face.rs b/all-is-cubes-base/src/math/face.rs index 17c533dec..ac97aa0b6 100644 --- a/all-is-cubes-base/src/math/face.rs +++ b/all-is-cubes-base/src/math/face.rs @@ -1,9 +1,9 @@ //! Axis-aligned unit vectors: the [`Face6`] and [`Face7`] types. //! This module is private but reexported by its parent. -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use core::fmt; diff --git a/all-is-cubes-base/src/math/matrix.rs b/all-is-cubes-base/src/math/matrix.rs index c73f47ae4..030941516 100644 --- a/all-is-cubes-base/src/math/matrix.rs +++ b/all-is-cubes-base/src/math/matrix.rs @@ -1,9 +1,9 @@ //! Integer-coordinate matrices. //! This module is private but reexported by its parent. -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use core::cmp::Ordering; diff --git a/all-is-cubes-base/src/math/octant.rs b/all-is-cubes-base/src/math/octant.rs index d7d9c3cad..348eca406 100644 --- a/all-is-cubes-base/src/math/octant.rs +++ b/all-is-cubes-base/src/math/octant.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use core::{fmt, ops}; diff --git a/all-is-cubes-base/src/math/rotation.rs b/all-is-cubes-base/src/math/rotation.rs index 463da7ffd..db348be3c 100644 --- a/all-is-cubes-base/src/math/rotation.rs +++ b/all-is-cubes-base/src/math/rotation.rs @@ -5,9 +5,9 @@ clippy::large_stack_arrays, reason = "effectively-false positive on Arbitrary derive" )] -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use core::marker::PhantomData; diff --git a/all-is-cubes-base/src/math/vol.rs b/all-is-cubes-base/src/math/vol.rs index 340c45e38..bfcb78ed6 100644 --- a/all-is-cubes-base/src/math/vol.rs +++ b/all-is-cubes-base/src/math/vol.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::boxed::Box; diff --git a/all-is-cubes-base/src/raycast/axis_aligned.rs b/all-is-cubes-base/src/raycast/axis_aligned.rs index c3555095b..b40a60dbc 100644 --- a/all-is-cubes-base/src/raycast/axis_aligned.rs +++ b/all-is-cubes-base/src/raycast/axis_aligned.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use crate::math::{self, Cube, Face7, FreeCoordinate, GridAab}; diff --git a/all-is-cubes-content/src/blocks.rs b/all-is-cubes-content/src/blocks.rs index 114ce10a2..c92fe1c7f 100644 --- a/all-is-cubes-content/src/blocks.rs +++ b/all-is-cubes-content/src/blocks.rs @@ -1,9 +1,9 @@ //! Block definitions that are specific to the demo/initial content and not fundamental //! or UI. -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::sync::Arc; diff --git a/all-is-cubes-content/src/dungeon/maze.rs b/all-is-cubes-content/src/dungeon/maze.rs index 52d49aec2..fe967dfc8 100644 --- a/all-is-cubes-content/src/dungeon/maze.rs +++ b/all-is-cubes-content/src/dungeon/maze.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::boxed::Box; diff --git a/all-is-cubes-content/src/landscape.rs b/all-is-cubes-content/src/landscape.rs index 72f3554e1..20b2d45bd 100644 --- a/all-is-cubes-content/src/landscape.rs +++ b/all-is-cubes-content/src/landscape.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::boxed::Box; diff --git a/all-is-cubes-content/src/template.rs b/all-is-cubes-content/src/template.rs index ac63ba4f8..0ee785d41 100644 --- a/all-is-cubes-content/src/template.rs +++ b/all-is-cubes-content/src/template.rs @@ -1,8 +1,8 @@ //! First-run game content. -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::boxed::Box; diff --git a/all-is-cubes-content/src/tree.rs b/all-is-cubes-content/src/tree.rs index 5d03cee08..476a6abe9 100644 --- a/all-is-cubes-content/src/tree.rs +++ b/all-is-cubes-content/src/tree.rs @@ -22,7 +22,7 @@ use crate::LandscapeBlocks::{self, Leaves, Log}; unnameable_types, reason = "TODO: this should be public with an opaque struct wrapper" )] -#[expect(clippy::module_name_repetitions)] // TODO: rename to Growth? +#[allow(clippy::module_name_repetitions)] // TODO: rename to Growth? pub enum TreeGrowth { Sapling = 1, // radius = 1 G2, // radius = 2 diff --git a/all-is-cubes-desktop/src/glue/winit.rs b/all-is-cubes-desktop/src/glue/winit.rs index 02341fc67..6ae090b47 100644 --- a/all-is-cubes-desktop/src/glue/winit.rs +++ b/all-is-cubes-desktop/src/glue/winit.rs @@ -141,7 +141,10 @@ pub fn map_key(key: winit::keyboard::PhysicalKey) -> Option winit::window::CursorIcon { use all_is_cubes_ui::apps::CursorIcon as A; use winit::window::CursorIcon as W; diff --git a/all-is-cubes-desktop/src/record/options.rs b/all-is-cubes-desktop/src/record/options.rs index 38a4f586a..e3554c85a 100644 --- a/all-is-cubes-desktop/src/record/options.rs +++ b/all-is-cubes-desktop/src/record/options.rs @@ -1,8 +1,8 @@ //! Options controlling recording. -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use std::ops::RangeInclusive; diff --git a/all-is-cubes-desktop/src/session.rs b/all-is-cubes-desktop/src/session.rs index 1a403ed37..656db3e60 100644 --- a/all-is-cubes-desktop/src/session.rs +++ b/all-is-cubes-desktop/src/session.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use std::path::PathBuf; diff --git a/all-is-cubes-desktop/src/terminal/options.rs b/all-is-cubes-desktop/src/terminal/options.rs index 8e5f00076..e2edf0327 100644 --- a/all-is-cubes-desktop/src/terminal/options.rs +++ b/all-is-cubes-desktop/src/terminal/options.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use std::ops; diff --git a/all-is-cubes-gpu/src/common/info.rs b/all-is-cubes-gpu/src/common/info.rs index 35f6d8e98..02d69452a 100644 --- a/all-is-cubes-gpu/src/common/info.rs +++ b/all-is-cubes-gpu/src/common/info.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use std::time::Duration; diff --git a/all-is-cubes-mesh/src/dynamic/chunk.rs b/all-is-cubes-mesh/src/dynamic/chunk.rs index 6b22531b5..c7d9a9295 100644 --- a/all-is-cubes-mesh/src/dynamic/chunk.rs +++ b/all-is-cubes-mesh/src/dynamic/chunk.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use all_is_cubes::euclid::Translation3D; diff --git a/all-is-cubes-mesh/src/dynamic/instance.rs b/all-is-cubes-mesh/src/dynamic/instance.rs index 34233b545..ca060fe1c 100644 --- a/all-is-cubes-mesh/src/dynamic/instance.rs +++ b/all-is-cubes-mesh/src/dynamic/instance.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::vec::Vec; diff --git a/all-is-cubes-mesh/src/dynamic/render_data.rs b/all-is-cubes-mesh/src/dynamic/render_data.rs index d1b99ff80..3e9a82742 100644 --- a/all-is-cubes-mesh/src/dynamic/render_data.rs +++ b/all-is-cubes-mesh/src/dynamic/render_data.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use core::fmt; diff --git a/all-is-cubes-port/src/export.rs b/all-is-cubes-port/src/export.rs index c8d05689e..8cf36fc60 100644 --- a/all-is-cubes-port/src/export.rs +++ b/all-is-cubes-port/src/export.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] #[allow(unused_imports)] diff --git a/all-is-cubes-port/src/import.rs b/all-is-cubes-port/src/import.rs index 9a991db98..a064a1e1a 100644 --- a/all-is-cubes-port/src/import.rs +++ b/all-is-cubes-port/src/import.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use std::io; diff --git a/all-is-cubes-render/src/headless.rs b/all-is-cubes-render/src/headless.rs index 00febe505..cfe919fed 100644 --- a/all-is-cubes-render/src/headless.rs +++ b/all-is-cubes-render/src/headless.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::vec::Vec; diff --git a/all-is-cubes-render/src/raytracer/renderer.rs b/all-is-cubes-render/src/raytracer/renderer.rs index 6016a1c74..039facc34 100644 --- a/all-is-cubes-render/src/raytracer/renderer.rs +++ b/all-is-cubes-render/src/raytracer/renderer.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::boxed::Box; diff --git a/all-is-cubes-ui/src/apps/input.rs b/all-is-cubes-ui/src/apps/input.rs index c4207b0fd..83a54eddc 100644 --- a/all-is-cubes-ui/src/apps/input.rs +++ b/all-is-cubes-ui/src/apps/input.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::vec::Vec; diff --git a/all-is-cubes-ui/src/apps/session.rs b/all-is-cubes-ui/src/apps/session.rs index 0f5025985..5560ba63d 100644 --- a/all-is-cubes-ui/src/apps/session.rs +++ b/all-is-cubes-ui/src/apps/session.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::boxed::Box; diff --git a/all-is-cubes-ui/src/vui/layout.rs b/all-is-cubes-ui/src/vui/layout.rs index 1b356bd89..dc41f556a 100644 --- a/all-is-cubes-ui/src/vui/layout.rs +++ b/all-is-cubes-ui/src/vui/layout.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::boxed::Box; diff --git a/all-is-cubes-ui/src/vui/widgets/button.rs b/all-is-cubes-ui/src/vui/widgets/button.rs index a819119bf..7a5cc7424 100644 --- a/all-is-cubes-ui/src/vui/widgets/button.rs +++ b/all-is-cubes-ui/src/vui/widgets/button.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::borrow::ToOwned as _; diff --git a/all-is-cubes-ui/src/vui/widgets/progress_bar.rs b/all-is-cubes-ui/src/vui/widgets/progress_bar.rs index 60f4e908d..c97d15df1 100644 --- a/all-is-cubes-ui/src/vui/widgets/progress_bar.rs +++ b/all-is-cubes-ui/src/vui/widgets/progress_bar.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::boxed::Box; diff --git a/all-is-cubes-ui/src/vui/widgets/text.rs b/all-is-cubes-ui/src/vui/widgets/text.rs index c524979f4..ccd712729 100644 --- a/all-is-cubes-ui/src/vui/widgets/text.rs +++ b/all-is-cubes-ui/src/vui/widgets/text.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::boxed::Box; diff --git a/all-is-cubes-ui/src/vui/widgets/theme.rs b/all-is-cubes-ui/src/vui/widgets/theme.rs index 6380b6dfb..fa2873c9b 100644 --- a/all-is-cubes-ui/src/vui/widgets/theme.rs +++ b/all-is-cubes-ui/src/vui/widgets/theme.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::format; diff --git a/all-is-cubes/src/block/attributes.rs b/all-is-cubes/src/block/attributes.rs index f1384927e..665e0526f 100644 --- a/all-is-cubes/src/block/attributes.rs +++ b/all-is-cubes/src/block/attributes.rs @@ -1,8 +1,8 @@ //! [`BlockAttributes`] and closely related types. -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use core::{fmt, ops}; diff --git a/all-is-cubes/src/block/block_def.rs b/all-is-cubes/src/block/block_def.rs index 615df9d1d..b3a98911c 100644 --- a/all-is-cubes/src/block/block_def.rs +++ b/all-is-cubes/src/block/block_def.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::sync::Arc; diff --git a/all-is-cubes/src/block/eval/evaluated.rs b/all-is-cubes/src/block/eval/evaluated.rs index 5af6d729c..47ba3fff3 100644 --- a/all-is-cubes/src/block/eval/evaluated.rs +++ b/all-is-cubes/src/block/eval/evaluated.rs @@ -1,8 +1,8 @@ //! [`EvaluatedBlock`] and [`Evoxel`]. -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::boxed::Box; diff --git a/all-is-cubes/src/block/eval/mod.rs b/all-is-cubes/src/block/eval/mod.rs index 37740b8b1..af8421fcf 100644 --- a/all-is-cubes/src/block/eval/mod.rs +++ b/all-is-cubes/src/block/eval/mod.rs @@ -5,9 +5,9 @@ //! it does not contain the elements that are evaluated //! ([`crate::block::Primitive`] and [`crate::block::Modifier`]) -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] mod control; diff --git a/all-is-cubes/src/block/modifier/composite.rs b/all-is-cubes/src/block/modifier/composite.rs index 01c1960ce..0f4ac513f 100644 --- a/all-is-cubes/src/block/modifier/composite.rs +++ b/all-is-cubes/src/block/modifier/composite.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::vec; diff --git a/all-is-cubes/src/character/cursor.rs b/all-is-cubes/src/character/cursor.rs index 9c734a287..85cb3a423 100644 --- a/all-is-cubes/src/character/cursor.rs +++ b/all-is-cubes/src/character/cursor.rs @@ -2,9 +2,9 @@ //! //! TODO: It's unclear what the scope of this module should be. -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use core::fmt; diff --git a/all-is-cubes/src/inv/inventory.rs b/all-is-cubes/src/inv/inventory.rs index d82b22c29..ded8e5ca6 100644 --- a/all-is-cubes/src/inv/inventory.rs +++ b/all-is-cubes/src/inv/inventory.rs @@ -1,8 +1,8 @@ //! [`Inventory`] for storing items. -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::borrow::Cow; diff --git a/all-is-cubes/src/inv/tool.rs b/all-is-cubes/src/inv/tool.rs index 5557831df..f6eaeced2 100644 --- a/all-is-cubes/src/inv/tool.rs +++ b/all-is-cubes/src/inv/tool.rs @@ -1,8 +1,8 @@ //! [`Tool`] and related. -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::borrow::Cow; diff --git a/all-is-cubes/src/listen/cell.rs b/all-is-cubes/src/listen/cell.rs index 8d0279b2b..ccf20aa90 100644 --- a/all-is-cubes/src/listen/cell.rs +++ b/all-is-cubes/src/listen/cell.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use core::fmt; diff --git a/all-is-cubes/src/physics/body.rs b/all-is-cubes/src/physics/body.rs index 1973a944f..96e94b1c4 100644 --- a/all-is-cubes/src/physics/body.rs +++ b/all-is-cubes/src/physics/body.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] #[cfg(feature = "rerun")] diff --git a/all-is-cubes/src/raytracer.rs b/all-is-cubes/src/raytracer.rs index addeecd5f..317575c58 100644 --- a/all-is-cubes/src/raytracer.rs +++ b/all-is-cubes/src/raytracer.rs @@ -1,9 +1,9 @@ //! Note: This module is hidden, and its contents re-exported as `all_is_cubes_render::raytracer`. //! It is located in this crate so that it can be used by unit tests. -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::boxed::Box; diff --git a/all-is-cubes/src/raytracer/updating.rs b/all-is-cubes/src/raytracer/updating.rs index cb4e854e3..4cee28111 100644 --- a/all-is-cubes/src/raytracer/updating.rs +++ b/all-is-cubes/src/raytracer/updating.rs @@ -1,9 +1,9 @@ // TODO: ideally this would live in `all-is-cubes-render`, // but it depends on `maybe_sync` and the internals of `SpaceRaytracer`. -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::sync::{Arc, Weak}; diff --git a/all-is-cubes/src/save/whence.rs b/all-is-cubes/src/save/whence.rs index 4c1196d3d..b7f8a8d63 100644 --- a/all-is-cubes/src/save/whence.rs +++ b/all-is-cubes/src/save/whence.rs @@ -15,9 +15,9 @@ use crate::util::YieldProgress; /// /// This trait is object-safe so that it can be stored in a [`Universe`] as `dyn WhenceUniverse`. /// Therefore, all its `async` methods use boxed futures. -#[expect( +#[allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] pub trait WhenceUniverse: fmt::Debug + Send + Sync + downcast_rs::Downcast + 'static { /// Returns a string suitable for use as a window title or other user interface element diff --git a/all-is-cubes/src/space/light/mod.rs b/all-is-cubes/src/space/light/mod.rs index 70b984624..d48eee1f2 100644 --- a/all-is-cubes/src/space/light/mod.rs +++ b/all-is-cubes/src/space/light/mod.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] mod data; diff --git a/all-is-cubes/src/space/palette.rs b/all-is-cubes/src/space/palette.rs index 430ee0c4e..aec3c4ccf 100644 --- a/all-is-cubes/src/space/palette.rs +++ b/all-is-cubes/src/space/palette.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::sync::{Arc, Weak}; diff --git a/all-is-cubes/src/transaction/tester.rs b/all-is-cubes/src/transaction/tester.rs index a32ac11c0..6fa4a57fd 100644 --- a/all-is-cubes/src/transaction/tester.rs +++ b/all-is-cubes/src/transaction/tester.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::boxed::Box; diff --git a/all-is-cubes/src/universe/handle.rs b/all-is-cubes/src/universe/handle.rs index f0ab90c02..6cc0686ad 100644 --- a/all-is-cubes/src/universe/handle.rs +++ b/all-is-cubes/src/universe/handle.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] use alloc::sync::{Arc, Weak}; diff --git a/all-is-cubes/src/universe/visit.rs b/all-is-cubes/src/universe/visit.rs index d88850fa1..680b01410 100644 --- a/all-is-cubes/src/universe/visit.rs +++ b/all-is-cubes/src/universe/visit.rs @@ -1,6 +1,6 @@ -#![expect( +#![allow( clippy::module_name_repetitions, - reason = "module is private; https://github.com/rust-lang/rust-clippy/issues/8524" + reason = "false positive; TODO: remove after Rust 1.84 is released" )] #[cfg(test)]