Matthias Krüger
96074bec97
Rollup merge of #117133 - compiler-errors:coherence-constrained, r=oli-obk
...
Merge `impl_wf_inference` (`check_mod_impl_wf`) check into coherence checking
Problem here is that we call `collect_impl_trait_in_trait_types` when checking `check_mod_impl_wf` which is performed before coherence. Due to the `tcx.sess.track_errors`, since we end up reporting an error, we never actually proceed to coherence checking, where we would be emitting a more useful impl overlap error.
This change means that we may report more errors in some cases, but can at least proceed far enough to leave a useful message for overlapping traits with RPITITs in them.
Fixes #116982
r? types
2023-10-25 17:40:29 +02:00
..
2023-10-24 11:43:46 +08:00
2023-10-19 08:03:40 +05:30
2023-10-20 08:46:27 +00:00
2023-10-17 17:33:55 +00:00
2023-10-17 17:33:55 +00:00
2023-10-18 23:53:18 +00:00
2023-10-18 23:53:18 +00:00
2023-10-25 17:40:29 +02:00
2023-10-24 17:28:45 +00:00
2023-10-20 21:14:01 +00:00
2023-10-20 21:14:01 +00:00
2023-10-20 21:14:02 +00:00
2023-10-23 13:04:47 -07:00
2023-10-16 19:15:28 +00:00
2023-10-25 00:03:57 +00:00
2023-10-20 21:14:02 +00:00
2023-10-23 13:03:11 -07:00
2023-10-23 00:51:35 +00:00
2023-10-20 21:14:01 +00:00
2023-10-21 21:23:01 +02:00
2023-10-17 10:11:31 +02:00
2023-10-23 13:04:47 -07:00
2023-10-23 09:59:40 +00:00
2023-10-17 19:53:51 -04:00
2023-10-24 15:27:06 +00:00
2023-10-22 21:27:46 +08:00
2023-10-20 08:46:27 +00:00
2023-10-20 08:46:27 +00:00
2023-10-16 15:57:59 +00:00
2023-10-24 09:51:26 +02:00
2023-10-16 16:29:35 +00:00
2023-10-20 14:59:26 +02:00
2023-10-20 14:59:26 +02:00
2023-10-21 15:56:01 +00:00
2023-10-24 00:25:32 +00:00
2023-10-18 23:53:18 +00:00
2023-10-20 08:46:27 +00:00
2023-10-20 21:14:01 +00:00
2023-10-24 19:29:55 +02:00
2023-10-22 21:27:46 +08:00
2023-10-20 21:14:01 +00:00
2023-10-20 21:14:01 +00:00
2023-10-17 17:33:55 +00:00
2023-10-20 21:14:01 +00:00
2023-10-24 19:29:55 +02:00
2023-10-21 15:56:01 +00:00
2023-10-21 15:56:01 +00:00
2023-10-24 00:25:32 +00:00
2023-10-19 00:07:16 +00:00
2023-10-20 21:14:01 +00:00
2023-10-23 20:24:09 +00:00
2023-10-16 15:57:59 +00:00
2023-10-20 21:14:02 +00:00
2023-10-20 21:14:02 +00:00
2023-10-25 08:54:09 +00:00
2023-10-23 13:04:47 -07:00
2023-10-20 21:14:01 +00:00
2023-10-23 13:04:47 -07:00
2023-10-16 19:10:49 +02:00
2023-10-18 23:53:18 +00:00
2023-10-23 13:04:47 -07:00
2023-10-19 08:03:40 +05:30
2023-10-20 21:14:02 +00:00
2023-10-20 08:46:27 +00:00
2023-10-23 13:04:47 -07:00
2023-10-17 17:33:55 +00:00
2023-10-24 00:25:32 +00:00
2023-10-24 09:36:47 +08:00
2023-10-20 21:14:01 +00:00
2023-10-20 21:14:02 +00:00
2023-10-18 23:53:18 +00:00
2023-10-25 17:40:28 +02:00
2023-10-24 19:29:55 +02:00
2023-10-20 21:14:01 +00:00
2023-10-24 17:01:25 +00:00
2023-10-24 17:01:25 +00:00
2023-10-25 00:32:58 +08:00
2023-10-20 21:14:01 +00:00