bors
4c83bd03a9
Auto merge of #107038 - compiler-errors:dont-wfcheck-non-local-rpit, r=oli-obk
...
Don't wf-check non-local RPITs
We were using `ty::is_impl_trait_defn(..).is_none()` to check if we need to add WF obligations for an opaque type.
This is *supposed* to be checking if the type is a TAIT, since RPITs' wfness is implied by wf checking its parent item, but since `is_impl_trait_defn` returns `None` for non-local RPIT and async futures, we unnecessarily consider wf predicates for an RPIT if it is coming from a foreign crate.
Fixes #107036
r? `@oli-obk` but feel free to reassign
2023-01-19 16:49:06 +00:00
..
2023-01-17 20:21:25 +01:00
2023-01-17 20:21:25 +01:00
2023-01-17 20:21:25 +01:00
2023-01-12 02:28:37 +00:00
2023-01-17 08:09:33 +00:00
2023-01-05 19:01:12 +01:00
2023-01-19 15:31:53 +03:00
2023-01-17 08:09:33 +00:00
2023-01-19 05:23:40 +00:00
2023-01-11 09:32:13 +00:00
2023-01-19 05:23:40 +00:00
2023-01-17 20:21:25 +01:00
2023-01-18 10:22:21 -08:00
2023-01-19 11:19:36 +01:00
2023-01-19 05:23:40 +00:00
2023-01-19 11:19:35 +01:00
2023-01-17 05:25:23 +01:00
2023-01-17 08:09:33 +00:00
2023-01-17 20:21:25 +01:00
2023-01-13 05:04:48 +00:00
2023-01-05 19:01:12 +01:00
2023-01-19 11:19:34 +01:00
2023-01-19 16:49:06 +00:00
2023-01-12 02:28:37 +00:00
2023-01-19 11:19:34 +01:00
2023-01-17 08:09:33 +00:00
2023-01-05 19:01:12 +01:00
2023-01-19 15:31:53 +03:00
2023-01-16 14:46:44 +00:00
2023-01-17 08:09:33 +00:00
2023-01-17 23:17:51 -08:00
2023-01-12 20:44:54 +00:00
2023-01-17 08:09:33 +00:00
2023-01-12 00:17:48 +09:00
2023-01-17 23:17:51 -08:00
2023-01-19 16:09:10 +00:00
2023-01-19 16:49:06 +00:00
2023-01-18 10:22:21 -08:00
2023-01-17 08:09:33 +00:00
2023-01-19 11:19:36 +01:00
2023-01-18 10:22:21 -08:00
2023-01-17 20:21:25 +01:00
2023-01-18 20:33:17 +01:00
2023-01-19 05:23:40 +00:00
2023-01-18 10:22:21 -08:00
2023-01-05 19:01:12 +01:00
2023-01-17 08:09:33 +00:00
2023-01-17 20:21:25 +01:00
2023-01-16 14:46:44 +00:00
2023-01-19 05:23:40 +00:00
2023-01-19 11:19:34 +01:00
2023-01-08 03:37:20 +00:00
2023-01-17 20:21:25 +01:00
2023-01-19 15:45:49 +00:00
2023-01-19 15:31:53 +03:00
2023-01-18 10:22:21 -08:00
2023-01-19 09:03:05 +01:00
2023-01-17 08:09:33 +00:00