rust/tests/ui/limits
Martin Nordholts 4edfeb2f60 compiler: Include span of too huge enum with -Cdebuginfo=2
We have a ui test to ensure we emit an error if we encounter too big
enums. Before this fix, compiling the test with `-Cdebuginfo=2` would
not include the span of the instantiation site, 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 test
passes regardless of debuginfo level.
2025-08-28 20:37:09 +02:00
..
huge-array-simple-32.rs TL note: current means target 2024-09-20 10:02:14 -07:00
huge-array-simple-32.stderr TL note: current means target 2024-09-20 10:02:14 -07:00
huge-array-simple-64.rs TL note: current means target 2024-09-20 10:02:14 -07:00
huge-array-simple-64.stderr TL note: current means target 2024-09-20 10:02:14 -07:00
huge-array.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
huge-array.stderr TL note: current means target 2024-09-20 10:02:14 -07:00
huge-enum.full-debuginfo.stderr compiler: Include span of too huge enum with -Cdebuginfo=2 2025-08-28 20:37:09 +02:00
huge-enum.no-debuginfo.stderr compiler: Include span of too huge enum with -Cdebuginfo=2 2025-08-28 20:37:09 +02:00
huge-enum.rs compiler: Include span of too huge enum with -Cdebuginfo=2 2025-08-28 20:37:09 +02:00
huge-static.rs Use the informative error as the main const eval error message 2025-06-02 15:37:15 +00:00
huge-static.stderr const-eval error: always say in which item the error occurred 2025-06-07 13:42:30 +02:00
huge-struct.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
huge-struct.stderr Simplify or delete normalize directives that don't care about bit-width 2024-12-27 12:42:07 +11:00
issue-15919-32.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-15919-32.stderr TL note: current means target 2024-09-20 10:02:14 -07:00
issue-15919-64.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-15919-64.stderr TL note: current means target 2024-09-20 10:02:14 -07:00
issue-17913.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
issue-17913.stderr TL note: current means target 2024-09-20 10:02:14 -07:00
issue-55878.rs Use the informative error as the main const eval error message 2025-06-02 15:37:15 +00:00
issue-55878.stderr const-eval error: always say in which item the error occurred 2025-06-07 13:42:30 +02:00
issue-69485-var-size-diffs-too-large.rs TL note: current means target 2024-09-20 10:02:14 -07:00
issue-69485-var-size-diffs-too-large.stderr TL note: current means target 2024-09-20 10:02:14 -07:00
issue-75158-64.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-75158-64.stderr TL note: current means target 2024-09-20 10:02:14 -07:00
type-length-limit-enforcement.rs Add support for shortening Instance and use it 2025-08-06 22:21:49 +00:00
type-length-limit-enforcement.stderr Add support for shortening Instance and use it 2025-08-06 22:21:49 +00:00