Files
rust/compiler
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-11-22 09:04:15 +11:00
2022-11-22 09:04:15 +11:00
2022-11-22 09:04:15 +11:00
2022-10-23 10:09:44 +02:00
2022-09-29 16:49:04 +09:00
2022-11-22 09:04:15 +11: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-10-23 10:09:44 +02:00
2022-11-21 15:24:50 +01:00