From 067f62c7786799295341018fa7a1aca4d33441ae Mon Sep 17 00:00:00 2001 From: Tobias Schmitz Date: Fri, 9 May 2025 17:05:37 +0200 Subject: [PATCH] feat: change error message --- crates/typst-realize/src/lib.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/crates/typst-realize/src/lib.rs b/crates/typst-realize/src/lib.rs index f69bd3ee9..7d2460a89 100644 --- a/crates/typst-realize/src/lib.rs +++ b/crates/typst-realize/src/lib.rs @@ -679,12 +679,7 @@ fn visit_grouping_rules<'a>( // by the show rule, and so on. The two must be at an equilibrium, // otherwise either the "maximum show rule depth" or "maximum // grouping depth" errors are triggered. - bail!( - content.span(), - "maximum realization iterations exceeded"; - hint: "maybe there is a cycle between a show rule that produces content, \ - which is matched by a grouping rule that triggers the show rule", - ); + bail!(content.span(), "maximum grouping depth exceeded"); } }