Matthias Krüger
118ee14dd1
Rollup merge of #104597 - compiler-errors:need_migrate_deref_output_trait_object-msg, r=eholk
...
Probe + better error messsage for `need_migrate_deref_output_trait_object`
1. Use `InferCtxt::probe` in `need_migrate_deref_output_trait_object` -- that normalization *could* technically do type inference as a side-effect, and this is a lint, so it should have no side-effects.
2. Return the trait-ref so we format the error message correctly. See the UI test change -- `(dyn A + 'static)` is not a trait.
2022-11-22 00:01:09 +01:00
..
2022-10-02 17:49:36 +02:00
2022-11-22 09:04:15 +11:00
2022-11-22 09:04:15 +11:00
2022-11-08 13:44:07 +01:00
2022-11-22 09:04:15 +11:00
2022-10-23 10:09:44 +02:00
2022-11-18 14:46:36 -08:00
2022-11-21 12:17:03 +00:00
2022-11-22 09:04:15 +11:00
2022-11-21 14:11:12 +01:00
2022-11-19 11:54:43 +05:30
2022-11-21 14:11:10 +01:00
2022-11-21 14:11:12 +01:00
2022-11-21 14:11:11 +01:00
2022-11-19 02:28:47 +00:00
2022-11-19 15:35:18 +01:00
2022-11-21 12:17:03 +00:00
2022-11-21 15:24:50 +01:00
2022-11-20 23:50:27 +01:00
2022-11-22 00:01:09 +01:00
2022-11-21 12:17:03 +00:00
2022-11-07 10:35:08 +01:00
2022-11-20 07:16:42 +00:00
2022-11-21 15:22:54 +00:00
2022-11-13 14:06:51 +00:00
2022-11-21 18:36:26 +00:00
2022-10-29 20:28:38 +11:00
2022-09-29 16:49:04 +09:00
2022-11-21 15:22:54 +00:00
2022-11-18 14:46:35 -08:00
2022-11-16 09:41:28 +11:00
2022-11-22 09:04:15 +11:00
2022-11-15 21:16:11 +01:00
2022-11-21 01:44:12 +00:00
2022-10-16 15:10:40 +01:00
2022-11-21 15:24:51 +01:00
2022-11-22 09:04:15 +11:00
2022-11-22 00:01:09 +01:00
2022-11-20 19:04:11 -06:00
2022-11-18 10:30:47 +01:00
2022-11-20 19:04:11 -06:00
2022-11-18 08:42:59 -08:00
2022-11-22 00:01:09 +01:00
2022-11-15 14:28:20 +09:00
2022-11-20 19:04:11 -06:00
2022-10-23 10:09:44 +02:00
2022-11-13 14:06:51 +00:00
2022-11-08 18:47:26 +00:00
2022-11-11 13:02:37 +00:00
2022-11-18 20:26:58 +00:00
2022-11-13 14:06:51 +00:00
2022-11-02 16:17:22 -07:00
2022-11-21 15:24:50 +01:00
2022-09-13 19:18:23 +02:00
2022-11-21 12:17:03 +00:00
2022-11-19 04:04:27 +00:00
2022-11-19 11:54:43 +05:30
2022-11-22 00:01:09 +01:00
2022-11-21 14:11:11 +01:00
2022-11-05 13:48:30 +00:00
2022-11-21 12:17:03 +00:00
2022-11-02 23:15:49 +08:00