about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-12-17 21:29:59 +0100
committerGitHub <noreply@github.com>2023-12-17 21:29:59 +0100
commit93d3a4231ea3aae4ca38ae6dc0d8650b8293edb0 (patch)
treeaa54c73812abfd6980cd4075134489caeab49302 /compiler/rustc_codegen_gcc/src
parent6269bf1a3a17527347d0f7b890840e2cd1ccfd9f (diff)
parent770013d315e9a905e92794876b604568d2fb568e (diff)
downloadrust-93d3a4231ea3aae4ca38ae6dc0d8650b8293edb0.tar.gz
rust-93d3a4231ea3aae4ca38ae6dc0d8650b8293edb0.zip
Rollup merge of #118928 - EliseZeroTwo:EliseZeroTwo/fix-issue-118786, r=cjgillot
fix: Overlapping spans in delimited meta-vars

Closes #118786

Delimited meta-vars inside of MBE's spans were set to have the same opening and closing position resulting in an ICE when debug assertions were enabled and an error was present in the templated code.

This ensures that the spans do not overlap, whilst still having the spans point at the usage of the meta-var inside the macro definition.

It includes a regression test.

🖤
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
0 files changed, 0 insertions, 0 deletions