Guillaume Gomez
1a878df2b8
Rollup merge of #106927 - Ezrashaw:e0606-make-machine-applicable, r=estebank
...
make `CastError::NeedsDeref` create a `MachineApplicable` suggestion
Fixes #106903
Simple impl for the linked issue. I also made some other small changes:
- `CastError::ErrorGuaranteed` now owns an actual `ErrorGuaranteed`. This better enforces the static guarantees of `ErrorGuaranteed`.
- `CastError::NeedDeref` code simplified a bit, we now just suggest the `*`, instead of the whole expression as well.
2023-01-19 11:19:34 +01:00
..
2023-01-11 21:30:32 +00:00
2023-01-14 13:04:26 +01:00
2023-01-18 18:00:28 -05:00
2023-01-11 22:25:49 -08:00
2023-01-15 05:47:24 +09:00
2023-01-12 22:25:30 +00:00
2023-01-13 05:47:21 +09:00
2023-01-15 22:17:54 +13:00
2023-01-17 15:04:05 +01:00
2023-01-13 13:34:55 +09:00
2023-01-12 20:44:47 +00:00
2023-01-18 04:45:43 +00:00
2023-01-18 18:00:29 -05:00
2023-01-18 04:07:39 +00:00
2023-01-16 11:09:53 +01:00
2023-01-13 18:20:23 +00:00
2023-01-11 21:40:39 +00:00
2023-01-11 21:30:32 +00:00
2023-01-12 22:25:30 +00:00
2023-01-17 03:09:49 +00:00
2023-01-18 13:14:56 +13:00
2023-01-14 12:49:37 +00:00
2023-01-17 03:06:38 +00:00
2023-01-13 05:47:21 +09:00
2023-01-18 20:33:17 +01:00
2023-01-12 22:25:30 +00:00
2023-01-11 14:40:02 -08:00
2023-01-12 22:04:30 +00:00
2023-01-17 11:52:45 -08:00
2023-01-15 12:23:46 +13:00
2023-01-15 05:52:22 +09:00
2023-01-17 03:09:49 +00:00
2023-01-18 16:37:33 +00:00
2023-01-13 00:39:54 +00:00
2023-01-17 03:09:49 +00:00
2023-01-18 04:07:39 +00:00
2023-01-14 14:05:26 +01:00
2023-01-13 05:47:23 +09:00
2023-01-11 22:25:49 -08:00
2023-01-11 14:35:08 -08:00
2023-01-17 11:52:45 -08:00
2023-01-18 04:45:43 +00:00
2023-01-17 20:33:03 +05:30
2023-01-17 03:09:49 +00:00
2023-01-12 20:44:47 +00:00
2023-01-16 20:24:01 +13:00
2023-01-17 03:09:49 +00:00
2023-01-13 20:50:34 +00:00
2023-01-13 05:04:48 +00:00
2023-01-11 21:39:07 +00:00
2023-01-11 14:40:02 -08:00
2023-01-12 22:25:30 +00:00
2023-01-14 11:06:22 -08:00
2023-01-14 12:51:20 +13:00
2023-01-11 14:09:14 -08:00
2023-01-11 21:36:02 +00:00
2023-01-17 03:09:49 +00:00
2023-01-11 21:30:10 +00:00
2023-01-11 14:40:07 -08:00
2023-01-13 19:16:42 +01:00
2023-01-17 03:06:38 +00:00
2023-01-13 16:54:23 +09:00
2023-01-13 16:54:24 +09:00
2023-01-11 21:30:10 +00:00
2023-01-17 03:06:38 +00:00
2023-01-12 20:44:47 +00:00
2023-01-12 22:25:30 +00:00
2023-01-14 22:04:42 +13:00
2023-01-12 22:25:30 +00:00
2023-01-11 21:30:10 +00:00
2023-01-15 16:33:08 +00:00
2023-01-18 04:07:39 +00:00
2023-01-17 03:06:38 +00:00
2023-01-12 22:25:30 +00:00
2023-01-15 01:01:36 +01:00
2023-01-12 22:04:30 +00:00
2023-01-14 18:45:27 +01:00
2023-01-17 20:21:26 +01:00
2023-01-15 16:33:08 +00:00
2023-01-14 13:04:26 +01:00
2023-01-11 14:40:07 -08:00
2023-01-17 03:06:38 +00:00
2023-01-12 22:25:30 +00:00
2023-01-11 20:03:29 +00:00
2023-01-12 02:28:38 +00:00
2023-01-16 20:24:01 +13:00