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-08-08 18:09:56 -07:00
2023-08-04 13:17:39 +02:00
2023-08-09 14:04:10 +00:00
2023-08-09 14:04:10 +00:00
2023-08-07 21:14:28 +02:00
2023-08-09 14:04:10 +00:00
2023-08-04 13:17:39 +02:00
2023-08-09 14:04:10 +00:00
2023-08-09 14:04:10 +00:00
2023-08-06 15:06:40 +02:00
2023-08-09 06:32:25 +02:00
2023-08-08 19:23:41 +00:00
2023-08-03 23:47:57 +08:00
2023-08-09 14:04:10 +00:00
2023-08-09 14:04:10 +00:00
2023-08-08 18:09:56 -07:00
2023-08-09 14:04:10 +00:00
2023-08-07 19:06:18 +00:00
2023-08-09 14:04:10 +00:00
2023-08-08 16:39:34 +02:00
2023-08-09 14:04:10 +00:00
2023-08-04 13:17:39 +02:00
2023-08-09 20:00:38 +00:00
2023-08-04 21:31:57 +02:00
2023-08-05 01:38:14 +08:00
2023-08-09 14:04:10 +00:00
2023-08-09 14:04:10 +00:00
2023-08-08 03:30:56 +02:00
2023-08-08 14:48:17 +08:00
2023-08-07 13:39:28 +00:00
2023-08-07 15:59:15 -07:00
2023-08-04 17:50:12 +00:00
2023-08-09 14:04:10 +00:00
2023-08-06 21:20:15 +02:00
2023-08-07 15:42:24 +02:00
2023-08-04 07:25:45 +02:00
2023-08-05 00:38:52 +00:00
2023-08-09 22:59:58 +02:00
2023-08-09 14:04:10 +00:00
2023-08-06 03:56:09 +02:00
2023-08-07 17:16:10 +00:00
2023-08-08 21:44:43 +02:00
2023-08-04 16:19:55 +00:00
2023-08-05 11:52:07 +00:00
2023-08-06 13:34:53 +00:00
2023-08-09 14:04:10 +00:00
2023-08-09 14:04:10 +00:00
2023-08-09 14:04:10 +00:00
2023-08-09 14:04:10 +00:00
2023-08-05 15:36:19 +02:00
2023-08-09 14:04:10 +00:00
2023-08-09 14:04:10 +00:00
2023-08-04 16:09:14 +00:00
2023-08-09 14:04:10 +00:00
2023-08-09 14:04:10 +00:00
2023-08-09 14:04:10 +00:00
2023-08-09 14:04:10 +00:00
2023-08-09 14:04:10 +00:00
2023-08-09 14:04:10 +00:00