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-20 21:14:01 +00:00
2023-10-25 17:40:29 +02:00
2023-10-20 21:14:02 +00:00
2023-10-13 21:01:36 +00:00
2023-09-23 13:34:07 +00:00
2023-10-03 02:25:32 +00:00
2023-09-21 22:20:58 +02:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-10-13 21:01:36 +00:00
2023-10-16 15:57:59 +00:00
2023-10-16 15:57:59 +00:00
2023-10-16 15:57:59 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:34:07 +00:00
2023-09-23 13:34:07 +00:00
2023-09-26 20:15:28 +00:00
2023-09-26 20:15:28 +00:00
2023-10-20 21:14:02 +00:00
2023-10-20 21:14:02 +00:00
2023-10-20 21:14:02 +00:00
2023-10-20 21:14:02 +00:00
2023-09-29 22:39:02 +10:00
2023-09-29 22:39:02 +10:00
2023-08-17 14:33:24 -07:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-10-05 01:04:41 +00:00
2023-10-13 21:01:36 +00:00
2023-10-13 21:01:36 +00:00
2023-09-08 03:45:36 +00:00
2023-09-08 03:45:36 +00:00
2023-09-23 13:34:07 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:34:07 +00:00
2023-08-27 22:03:16 +00:00
2023-08-27 22:03:16 +00:00
2023-10-20 21:14:01 +00:00
2023-10-20 21:14:01 +00:00
2023-10-20 21:14:01 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-10-03 02:25:32 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-10-20 08:46:27 +00:00
2023-10-20 08:46:27 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-09-22 15:58:43 +02:00
2023-09-22 15:58:43 +02:00
2023-09-23 13:34:07 +00:00
2023-09-23 13:34:07 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-10-20 21:14:01 +00:00
2023-09-23 13:34:07 +00:00
2023-09-23 13:34:07 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-08-14 19:41:57 +00:00
2023-08-14 19:41:57 +00:00
2023-08-14 19:41:57 +00:00
2023-09-19 12:48:40 +00:00
2023-09-23 13:34:07 +00:00
2023-10-03 02:25:32 +00:00
2023-10-20 21:14:01 +00:00
2023-08-16 14:28:19 -07:00
2023-09-23 13:34:07 +00:00
2023-10-03 02:25:32 +00:00
2023-08-14 19:41:57 +00:00
2023-09-23 13:34:07 +00:00
2023-10-03 02:25:32 +00:00
2023-10-20 21:14:01 +00:00
2023-10-20 21:14:01 +00:00
2023-10-21 13:18:00 +02:00
2023-10-21 13:18:00 +02:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:34:07 +00:00
2023-09-23 13:34:07 +00:00