From bb23eae7925fe3360f1048c3ed4737a61771a6a6 Mon Sep 17 00:00:00 2001 From: lcnr Date: Wed, 28 May 2025 12:33:33 +0000 Subject: [PATCH] remove unnecessary where-clauses they may cause tachys to break with -Znext-solver --- tachys/src/reactive_graph/mod.rs | 5 +---- tachys/src/view/template.rs | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/tachys/src/reactive_graph/mod.rs b/tachys/src/reactive_graph/mod.rs index fd8224dac1..1069370f0d 100644 --- a/tachys/src/reactive_graph/mod.rs +++ b/tachys/src/reactive_graph/mod.rs @@ -615,10 +615,7 @@ macro_rules! reactive_impl { fn add_any_attr( self, _attr: NewAttr, - ) -> Self::Output - where - Self::Output: RenderHtml, - { + ) -> Self::Output { todo!() } } diff --git a/tachys/src/view/template.rs b/tachys/src/view/template.rs index 4df169d174..927544e979 100644 --- a/tachys/src/view/template.rs +++ b/tachys/src/view/template.rs @@ -62,10 +62,7 @@ where fn add_any_attr( self, _attr: NewAttr, - ) -> Self::Output - where - Self::Output: RenderHtml, - { + ) -> Self::Output { panic!("AddAnyAttr not supported on ViewTemplate"); } }