rust/compiler/rustc_codegen_llvm/src/debuginfo/metadata
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
..
enums compiler: Include span of too huge enum with -Cdebuginfo=2 2025-08-28 20:37:09 +02:00
type_map.rs fix(debuginfo): handle false positives in overflow check 2025-08-12 17:13:13 +08:00