From c4b74f2367a0f9d7016592700464e301125696aa Mon Sep 17 00:00:00 2001 From: iris <2+iris@noreply.localhost> Date: Sun, 13 Sep 2026 20:14:43 -0400 Subject: [PATCH] Drop the prelude-bounds test The rename is the guarantee; there is no way back to a name that is not there any more. --- tests/prelude_bounds.rs | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 tests/prelude_bounds.rs diff --git a/tests/prelude_bounds.rs b/tests/prelude_bounds.rs deleted file mode 100644 index b7d62c1..0000000 --- a/tests/prelude_bounds.rs +++ /dev/null @@ -1,13 +0,0 @@ -//! The prelude must not shadow names from the standard prelude. A widget -//! called `Sized` meant every `?Sized` bound in a crate using iris resolved -//! to the widget and failed to compile, which is an error in someone else's -//! code that nothing here would have noticed. - -use iris::prelude::*; - -fn takes_unsized(_: &T) {} - -#[test] -fn the_prelude_leaves_sized_alone() { - takes_unsized("a `?Sized` bound resolves to the marker trait"); -}