Matthias Krüger
ef27e43807
Rollup merge of #108063 - compiler-errors:associated-type-bounds-in-bad-position, r=cjgillot
...
Ban associated type bounds in bad positions
We should not try to lower associated type bounds into TAITs in positions where `impl Trait` is not allowed (except for in `where` clauses, like `where T: Trait<Assoc: Bound>`).
This is achieved by using the same `rustc_ast_lowering` machinery as impl-trait does to characterize positions as universal/existential/disallowed.
Fixes #106077
Split out the first commit into #108066 , since it's not really related.
2023-02-23 06:18:05 +01:00
..
2023-01-19 15:46:08 +00:00
2023-02-07 08:52:15 +01:00
2023-02-22 21:52:26 +00:00
2023-02-22 08:40:47 -07:00
2023-02-15 12:24:53 +05:30
2023-01-27 20:10:17 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-30 20:12:19 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 18:58:13 +00:00
2023-02-09 10:26:49 +00:00
2023-01-12 11:58:24 -08:00
2023-01-27 18:58:13 +00:00
2023-02-13 16:23:23 +01:00
2023-01-27 18:58:13 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-02-13 16:23:23 +01:00
2023-02-13 16:23:23 +01:00
2023-02-13 16:23:23 +01:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-19 21:09:25 +01:00
2023-01-19 21:09:25 +01:00
2023-01-27 20:10:17 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-30 21:51:35 +00:00
2023-02-13 16:23:23 +01:00
2023-01-19 15:46:08 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-02-02 05:49:07 +00:00
2023-01-27 18:58:13 +00:00
2023-01-30 20:12:19 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 20:10:17 +00:00
2023-02-13 16:23:23 +01:00
2023-02-13 16:23:23 +01:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 18:58:13 +00:00