<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/limits/huge-array.full-debuginfo.stderr, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-08-30T09:09:29+00:00</updated>
<entry>
<title>compiler: Include span of too huge array with `-Cdebuginfo=2`</title>
<updated>2025-08-30T09:09:29+00:00</updated>
<author>
<name>Martin Nordholts</name>
<email>martin.nordholts@codetale.se</email>
</author>
<published>2025-08-30T08:38:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2ce6154b32c50b3588e0c58b6f106647a8831de8'/>
<id>urn:sha1:2ce6154b32c50b3588e0c58b6f106647a8831de8</id>
<content type='text'>
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.
</content>
</entry>
</feed>
