about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/errors.rs
diff options
context:
space:
mode:
authorAlex Macleod <alex@macleod.io>2025-04-08 12:52:36 +0000
committerPietro Albini <pietro@pietroalbini.org>2025-05-09 17:41:18 +0200
commit6e8f95f7ce6f83801433abc31ef472d7fba62946 (patch)
tree5014ce6938cb2ce8d539e50447f51c1a0ad11f37 /compiler/rustc_codegen_gcc/src/errors.rs
parent79df6ac1a738d6cd9d8ef6ccaa04fef558c71196 (diff)
downloadrust-6e8f95f7ce6f83801433abc31ef472d7fba62946.tar.gz
rust-6e8f95f7ce6f83801433abc31ef472d7fba62946.zip
Ensure that peeling does not recurse into macros (#14527)
We do not want to remove casts done inside macros. Also, when printing
the suggestion, take it from the same context as the origin expression
(the root context).

Problems found while working on #14526, but should be merged even if
#14526 is not.

changelog: none
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
0 files changed, 0 insertions, 0 deletions