about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-11 22:38:56 +0200
committerGitHub <noreply@github.com>2024-04-11 22:38:56 +0200
commit17a8ee636f3f069861bca5895e47e91fa6a1c183 (patch)
tree7e3cfd259d5f3cfe71c4db253fb08bc08410c0b2 /compiler/rustc_codegen_gcc
parentf361026ebd16282c4ecc26072c1d4ba728d9ce46 (diff)
parent68d7c837fc377ac4145d931171fa2b1d1bd1670f (diff)
downloadrust-17a8ee636f3f069861bca5895e47e91fa6a1c183.tar.gz
rust-17a8ee636f3f069861bca5895e47e91fa6a1c183.zip
Rollup merge of #123804 - compiler-errors:podcrab-fix, r=jieyouxu
Stop using `HirId` for fn-like parents since closures are not `OwnerNode`s

This is a minimal fix for #123273.

I'm overall pretty disappointed w/ the state of this code; although it's "just diagnostics", it still should be maintainable and understandable and neither of those are true. I believe this code really needs some major overhauling before anything more should be added to it, because there are subtle invariants that are being exercised and subsequently broken all over the place, and I don't think we should just paper over them (e.g.) by delaying bugs or things like that. I wouldn't be surprised if fixing up this code would also yield better diagnostics.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions