diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-03-18 00:05:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-18 00:05:54 +0100 |
| commit | d91858b0801c538d603ac6d9a53e75a4dc5956b4 (patch) | |
| tree | 2bc217345277b23d7c9a607d65048f955672bd96 /compiler/rustc_mir_transform/src/coverage/mod.rs | |
| parent | 2a3c0e34cb5616c336d8c3c4e14701b4df364e60 (diff) | |
| parent | 08c913279fc21e57acd210a98dfdfd740e86b565 (diff) | |
| download | rust-d91858b0801c538d603ac6d9a53e75a4dc5956b4.tar.gz rust-d91858b0801c538d603ac6d9a53e75a4dc5956b4.zip | |
Rollup merge of #109248 - compiler-errors:get_fn_decl-aaa, r=WaffleLapkin
Pass the right HIR back from `get_fn_decl` Fixes #109232 Makes sure that the `fn_id: HirId` that we pass to `suggest_missing_return_type` matches up with the `fn_decl: hir::FnDecl` that we pass to it, so the late-bound vars that we fetch from the former match up with the types in the latter... This HIR suggestion code really needs a big refactor. I've tried to do it in the past (a couple of attempts), but it's a super tangled mess. It really shouldn't be passing around things like `hir::Node` and just deal with `LocalDefId`s everywhere... Anyways, I'd rather fix this ICE, now.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions
