Matthias Krüger
a87dda3b3d
Rollup merge of #114670 - compiler-errors:issue-114660, r=cjgillot
...
Don't use `type_of` to determine if item has intrinsic shim
When we're calling `resolve_instance` on an inline const, we were previously looking at the `type_of` for that const, seeing that it was an `extern "intrinsic"` fn def, and treating it as if we were computing the instance of that intrinsic itself. This is incorrect.
Instead, we should be using the def-id of the item we're computing to determine if it's an intrinsic.
Fixes #114660
2023-08-09 23:00:00 +02:00
..
2023-07-30 13:18:33 +02:00
2023-08-03 14:50:50 +02:00
2023-08-03 14:50:50 +02:00
2023-08-08 19:23:41 +00:00
2023-08-08 18:09:56 -07:00
2023-07-30 13:18:33 +02:00
2023-08-04 13:17:39 +02:00
2023-08-01 12:39:32 -07:00
2023-08-08 03:30:56 +02:00
2023-08-06 07:36:05 -07:00
2023-08-08 18:09:56 -07:00
2023-08-07 05:29:12 +02:00
2023-08-09 22:59:58 +02:00
2023-08-09 00:38:00 +00:00
2023-08-08 22:00:40 +00:00
2023-08-08 10:25:37 +00:00
2023-08-07 19:33:23 +08:00
2023-08-05 11:52:07 +00:00
2023-08-03 14:50:50 +02:00
2023-08-04 18:46:19 +00:00
2023-08-04 18:46:19 +00:00
2023-08-08 18:09:56 -07:00
2023-08-08 19:23:41 +00:00
2023-08-08 19:23:41 +00:00
2023-08-08 19:23:41 +00:00
2023-08-09 22:59:59 +02:00
2023-08-03 14:50:50 +02:00
2023-08-03 14:50:50 +02:00
2023-08-08 03:30:56 +02:00
2023-08-07 19:33:23 +08:00
2023-08-06 03:56:09 +02:00
2023-08-04 14:13:11 +00:00
2023-08-08 21:44:44 +02:00
2023-07-30 13:18:33 +02:00
2023-08-03 14:50:50 +02:00
2023-08-08 05:10:11 +00:00
2023-08-09 23:00:00 +02:00
2023-08-08 03:30:56 +02:00
2023-08-06 17:26:29 +02:00
2023-08-09 22:59:58 +02:00
2023-08-07 15:54:31 +02:00
2023-08-04 21:31:57 +02:00
2023-08-08 19:23:41 +00:00
2023-08-07 15:54:31 +02:00
2023-08-03 14:50:50 +02:00
2023-08-08 03:30:56 +02:00
2023-08-08 14:48:17 +08:00
2023-08-08 21:44:43 +02:00
2023-08-09 23:00:00 +02:00
2023-08-08 18:09:56 -07:00
2023-08-02 16:52:03 +02:00
2023-08-09 22:59:58 +02:00
2023-08-09 14:04:10 +00:00
2023-08-09 23:00:00 +02:00
2023-08-04 09:18:59 +02:00