Matthias Krüger
d91858b080
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.
2023-03-18 00:05:54 +01:00
..
2023-01-30 20:12:19 +00:00
2023-03-03 05:02:34 +00:00
2023-02-14 20:22:10 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-01-25 08:58:27 -05:00
2023-01-25 08:58:27 -05:00
2023-02-22 08:40:47 -07:00
2023-03-16 04:02:56 +00:00
2023-03-16 04:02:56 +00:00
2023-01-15 19:46:20 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-01-13 22:43:17 +00:00
2023-01-13 22:43:17 +00:00
2023-03-14 16:39:45 +01:00
2023-03-14 16:39:45 +01:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-01-11 14:40:02 -08:00
2023-01-11 14:40:02 -08:00
2023-02-28 07:55:19 +00:00
2023-02-28 07:55:19 +00:00
2023-01-30 20:12:19 +00:00
2023-03-06 16:37:34 +00:00
2023-03-06 16:37:34 +00:00
2023-01-11 19:46:45 +00:00
2023-01-11 19:46:45 +00:00
2023-01-11 19:31:34 +00:00
2023-01-30 20:12:19 +00:00
2023-03-08 15:37:14 +01:00
2023-01-30 20:12:19 +00:00
2023-02-22 08:40:47 -07:00
2023-01-30 20:12:19 +00:00
2023-02-13 16:23:23 +01:00
2023-02-13 16:23:23 +01:00
2023-02-21 05:21:07 +00:00
2023-03-03 08:39:36 +01:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-02-13 16:23:23 +01:00
2023-01-30 20:12:19 +00:00
2023-02-21 05:21:07 +00:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-01-30 20:12:19 +00:00
2023-01-20 02:26:12 -05:00
2023-01-20 02:26:12 -05:00
2023-02-23 10:27:06 -07:00
2023-01-30 20:12:19 +00:00
2023-01-11 19:46:45 +00:00
2023-01-30 20:12:19 +00:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:21 +00:00
2023-01-30 20:12:19 +00:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-02-09 02:38:55 +00:00
2023-02-09 02:38:55 +00:00
2023-02-09 02:38:55 +00:00
2023-01-30 20:12:19 +00:00
2023-01-12 20:17:25 +08:00
2023-01-12 20:17:25 +08:00
2023-01-12 20:17:25 +08:00
2023-01-30 20:12:19 +00:00
2023-03-05 16:08:06 +00:00
2023-03-05 16:08:06 +00:00
2023-01-25 19:26:53 +00:00
2023-01-25 19:37:10 +00:00
2023-01-11 21:30:10 +00:00
2023-01-30 20:12:19 +00:00
2023-02-13 16:23:23 +01:00
2023-02-13 16:23:23 +01:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-03-08 00:00:18 +00:00
2023-03-08 00:00:18 +00:00
2023-03-08 00:00:19 +00:00
2023-03-08 00:00:18 +00:00
2023-03-08 00:00:19 +00:00
2023-03-08 00:00:18 +00:00
2023-03-08 00:00:18 +00:00
2023-03-08 00:00:18 +00:00
2023-03-08 00:00:18 +00:00
2023-03-08 00:00:18 +00:00
2023-03-08 00:00:18 +00:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-03-04 00:29:52 +00:00
2023-03-04 00:29:52 +00:00
2023-01-30 20:12:19 +00:00
2023-02-13 16:23:23 +01:00
2023-01-15 19:46:20 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 13:39:25 -08:00
2023-01-30 13:39:25 -08:00
2023-01-17 13:48:43 +01:00
2023-01-30 20:12:21 +00:00
2023-02-06 11:26:36 -08:00
2023-02-06 11:26:36 -08:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-02-22 08:40:47 -07:00
2023-01-30 20:12:19 +00:00
2023-02-10 18:18:08 +00:00
2023-02-10 18:18:08 +00:00
2023-02-03 21:37:41 +00:00
2023-02-03 21:37:41 +00:00
2023-02-03 21:37:41 +00:00
2023-01-30 20:12:19 +00:00
2023-01-23 00:42:20 +08:00
2023-01-23 00:42:20 +08:00
2023-01-30 20:12:19 +00:00
2023-01-11 21:38:54 +00:00
2023-01-11 21:38:54 +00:00
2023-01-11 21:38:54 +00:00
2023-01-11 21:38:54 +00:00
2023-01-11 21:38:54 +00:00
2023-01-11 21:38:54 +00:00
2023-01-11 21:39:07 +00:00
2023-01-11 21:39:07 +00:00
2023-01-11 21:39:07 +00:00
2023-03-17 15:39:05 +00:00
2023-03-17 15:39:05 +00:00
2023-02-28 17:29:46 +00:00
2023-02-28 17:29:46 +00:00
2023-01-30 20:12:21 +00:00
2023-01-30 20:12:21 +00:00
2023-02-15 12:31:38 +00:00
2023-02-15 12:31:38 +00:00
2023-02-22 08:40:47 -07:00
2023-02-23 10:27:06 -07:00
2023-02-06 21:48:10 +00:00
2023-02-06 21:48:10 +00:00
2023-01-12 22:04:30 +00:00
2023-01-30 20:12:19 +00:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00