feat: change error message

This commit is contained in:
Tobias Schmitz 2025-05-09 17:05:37 +02:00
parent ae97359fb3
commit 067f62c778
No known key found for this signature in database

View File

@ -679,12 +679,7 @@ fn visit_grouping_rules<'a>(
// by the show rule, and so on. The two must be at an equilibrium, // by the show rule, and so on. The two must be at an equilibrium,
// otherwise either the "maximum show rule depth" or "maximum // otherwise either the "maximum show rule depth" or "maximum
// grouping depth" errors are triggered. // grouping depth" errors are triggered.
bail!( bail!(content.span(), "maximum grouping depth exceeded");
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",
);
} }
} }