Matthias Krüger
574a8ba6af
Rollup merge of #132214 - fmease:mv-impl-trait-val-paths, r=compiler-errors
...
Cleanup: Move an impl-Trait check from AST validation to AST lowering
Namely the one that rejects `impl Trait` in qself types and non-final path segments.
There's no good reason to perform this during AST validation.
We have better infrastructure in place in the AST lowerer (`ImplTraitContext`).
This shaves off a lot of code.
We now lower `impl Trait` in bad positions to `{type error}` which allows us to
remove a special case from HIR ty lowering.
Coincidentally fixes #126725 . Well, it only *masks* it by passing `{type error}` to HIR analysis instead of a "bad" opaque. I was able to find a new reproducer for it. See the issue.
2024-10-27 19:49:07 +01:00
..
2024-04-14 23:53:39 +02:00
2024-04-14 23:53:39 +02:00
2024-04-14 11:18:23 +02:00
2024-04-14 11:18:23 +02:00
2024-04-14 11:18:23 +02:00
2024-04-14 11:18:23 +02:00
2024-04-14 11:18:23 +02:00
2024-04-14 11:18:23 +02:00
2024-04-14 11:18:23 +02:00
2024-04-14 11:18:23 +02:00
2024-04-14 11:18:23 +02:00
2024-04-14 11:21:51 +02:00
2024-04-26 17:20:16 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:18:23 +02:00
2024-04-14 11:18:23 +02:00
2024-04-14 11:18:23 +02:00
2024-04-18 18:55:20 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:58 +02:00
2024-04-14 11:18:23 +02:00
2024-04-14 11:18:23 +02:00
2024-04-19 23:09:37 +02:00
2024-04-14 11:18:23 +02:00
2024-04-19 23:09:37 +02:00
2024-04-14 11:18:23 +02:00
2024-04-14 11:18:23 +02:00
2024-04-19 23:09:37 +02:00
2024-04-14 11:21:51 +02:00
2024-04-18 18:55:20 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-18 18:55:20 +02:00
2024-04-18 18:55:20 +02:00
2024-04-14 11:18:23 +02:00
2024-04-14 11:18:23 +02:00
2024-04-14 11:18:23 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:18:23 +02:00
2024-04-14 11:18:23 +02:00
2024-04-18 06:13:47 +02:00
2024-04-14 23:53:39 +02:00
2024-04-14 11:18:23 +02:00
2024-04-14 11:21:51 +02:00
2024-04-18 06:13:47 +02:00
2024-04-18 06:13:47 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-18 18:55:20 +02:00
2024-04-14 11:21:58 +02:00
2024-04-19 23:09:37 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-08-30 12:50:07 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-19 23:09:37 +02:00
2024-04-18 18:55:20 +02:00
2024-04-18 18:55:20 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-08-30 12:50:07 +02:00
2024-04-14 11:21:58 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-09-18 00:10:25 +02:00
2024-04-18 18:55:20 +02:00
2024-04-18 18:55:20 +02:00
2024-04-18 06:13:47 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-08-03 15:18:09 -04:00
2024-04-18 18:55:20 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-18 18:55:20 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-05-29 17:06:54 +01:00
2024-04-14 11:21:51 +02:00
2024-04-18 18:55:20 +02:00
2024-04-14 11:21:51 +02:00
2024-04-18 18:55:20 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-05-31 11:04:32 +00:00
2024-04-14 11:21:51 +02:00
2024-04-14 11:21:51 +02:00
2024-04-14 23:53:39 +02:00
2024-04-14 11:21:51 +02:00
2024-05-29 17:06:54 +01:00
2024-04-14 11:21:58 +02:00
2024-04-18 06:13:47 +02:00
2024-09-01 22:28:23 +02:00
2024-04-18 06:13:47 +02:00
2024-07-29 21:29:08 -04:00
2024-04-18 06:13:47 +02:00
2024-05-27 17:32:56 +02:00
2024-06-19 21:35:37 -07:00
2024-04-18 06:13:47 +02:00
2024-04-18 06:13:47 +02:00
2024-04-18 06:13:47 +02:00
2024-04-21 21:04:32 +02:00
2024-04-26 17:20:16 +02:00
2024-04-26 17:20:16 +02:00
2024-04-26 17:20:16 +02:00
2024-10-06 18:12:25 +02:00
2024-05-05 23:41:08 +02:00
2024-05-05 23:41:08 +02:00
2024-05-05 23:41:08 +02:00
2024-05-27 17:32:56 +02:00
2024-05-27 17:32:56 +02:00
2024-05-18 23:56:57 +02:00
2024-06-28 14:20:43 -04:00
2024-05-27 17:32:56 +02:00
2024-09-19 16:23:38 -07:00
2024-05-27 20:41:09 +02:00
2024-06-09 10:16:12 +02:00
2024-06-09 10:16:12 +02:00
2024-06-09 10:16:12 +02:00
2024-06-09 10:16:12 +02:00
2024-06-09 10:16:12 +02:00
2024-06-09 10:16:12 +02:00
2024-06-09 10:16:12 +02:00
2024-06-09 10:16:12 +02:00
2024-06-09 10:16:12 +02:00
2024-06-09 10:16:12 +02:00
2024-06-09 10:16:12 +02:00
2024-06-16 20:38:08 +02:00
2024-08-27 14:05:54 +00:00
2024-06-16 20:38:08 +02:00
2024-06-16 20:38:08 +02:00
2024-08-30 12:50:07 +02:00
2024-06-29 09:33:28 +02:00
2024-06-29 09:33:28 +02:00
2024-06-29 09:33:28 +02:00
2024-06-29 09:33:28 +02:00
2024-06-29 09:33:28 +02:00
2024-07-04 23:44:10 +02:00
2024-07-04 23:44:10 +02:00
2024-07-04 23:44:10 +02:00
2024-09-01 22:28:23 +02:00
2024-07-21 17:50:57 +02:00
2024-07-21 17:50:57 +02:00
2024-07-21 17:50:57 +02:00
2024-07-21 17:50:57 +02:00
2024-07-21 17:50:57 +02:00
2024-07-21 17:50:57 +02:00
2024-09-18 00:10:25 +02:00
2024-07-21 17:50:57 +02:00
2024-08-19 01:14:22 +01:00
2024-08-04 21:25:49 +02:00
2024-08-30 12:50:07 +02:00
2024-09-18 00:10:25 +02:00
2024-10-10 00:57:59 +02:00
2024-08-04 21:25:49 +02:00
2024-09-18 00:10:25 +02:00
2024-08-04 21:25:49 +02:00
2024-08-15 22:44:16 +02:00
2024-08-15 22:44:16 +02:00
2024-08-15 22:44:16 +02:00
2024-08-15 22:44:16 +02:00
2024-08-15 22:44:16 +02:00
2024-08-19 00:38:28 +02:00
2024-08-19 00:38:28 +02:00
2024-08-19 00:38:28 +02:00
2024-09-01 22:28:23 +02:00
2024-08-30 12:38:22 +02:00
2024-08-30 12:38:22 +02:00
2024-08-30 12:38:22 +02:00
2024-09-15 21:18:41 +02:00
2024-09-23 12:43:44 -04:00
2024-09-15 21:18:41 +02:00
2024-09-18 00:10:25 +02:00
2024-09-18 00:10:25 +02:00
2024-10-10 00:57:59 +02:00
2024-09-29 11:58:09 +02:00
2024-09-29 11:58:09 +02:00
2024-09-29 11:58:09 +02:00
2024-09-29 11:58:09 +02:00
2024-10-09 15:34:45 +02:00
2024-10-09 15:34:45 +02:00
2024-09-29 11:58:09 +02:00
2024-10-09 15:34:45 +02:00
2024-10-09 15:34:45 +02:00
2024-10-09 15:34:45 +02:00
2024-10-09 15:34:45 +02:00
2024-10-09 15:34:45 +02:00
2024-10-09 15:34:45 +02:00
2024-10-09 15:34:45 +02:00
2024-10-09 15:34:45 +02:00
2024-10-09 15:34:45 +02:00
2024-10-09 15:34:45 +02:00
2024-10-09 15:34:45 +02:00
2024-10-09 15:34:45 +02:00
2024-10-09 15:34:45 +02:00
2024-10-25 20:42:09 +00:00
2024-10-25 20:42:09 +00:00
2024-10-09 15:34:45 +02:00
2024-10-09 15:34:45 +02:00
2024-10-09 15:34:45 +02:00
2024-10-12 11:29:38 +02:00
2024-10-12 11:29:38 +02:00
2024-10-12 11:29:38 +02:00
2024-10-12 11:29:38 +02:00
2024-10-20 10:05:39 +02:00
2024-10-20 10:05:39 +02:00
2024-10-20 10:05:39 +02:00
2024-10-20 10:05:39 +02:00
2024-10-20 10:05:39 +02:00
2024-10-20 10:05:39 +02:00
2024-10-20 10:05:39 +02:00
2024-10-20 10:05:39 +02:00
2024-09-10 10:27:30 +02:00
2024-04-15 21:44:04 +02:00