build: simplify disallowed-* message

This commit is contained in:
189024609 2025-02-21 21:49:51 +01:00
commit 7bebbc9019

View file

@ -1,7 +1,7 @@
disallowed-types = [
{ path = "iced::widget::Text", reason = "with some fonts text renders as squares without advanced shaping (see #523), instead use [`crate::gui::widgets::text`]" },
{ path = "iced::widget::Text", reason = "Use [`crate::gui::widgets::text`] instead. For further details, see #523 and #858" },
]
disallowed-methods= [
{ path = "iced::widget::text", reason = "with some fonts text renders as squares without advanced shaping (see #523), instead use [`crate::gui::widgets::text`]" },
{ path = "iced::widget::text", reason = "Use [`crate::gui::widgets::text`] instead. For further details, see #523 and #858" },
]