about summary refs log tree commit diff
path: root/tests/ui/limits/huge-array.no-debuginfo.stderr
AgeCommit message (Collapse)AuthorLines
2025-08-30compiler: Include span of too huge array with `-Cdebuginfo=2`Martin Nordholts-0/+8
We have a few ui tests to ensure we emit an error if we encounter too big arrays. Before this fix, compiling the tests with `-Cdebuginfo=2` would not include the spans of the instantiation sites, because the error is then emitted from a different code path that does not include the span. Propagate the span to the error also in the debuginfo case, so the tests passes regardless of debuginfo level.