Matthias Krüger
372b15e55e
Rollup merge of #140467 - BoxyUwU:no_fcw_assoc_consts, r=lcnr
...
Don't FCW assoc consts in patterns
Fixes #140447
See comment in added test. We could also check that the anon const is a const arg by looking at the HIR. I'm not sure that's necessary though 🤔 The only consts that are evaluated "for the type system" are const args (which *should* get FCWs) and const patterns (which cant be anon consts afaik).
2025-04-30 22:36:40 +02:00
..
2025-04-30 10:36:03 +03:00
2025-04-28 07:50:18 +00:00
2025-04-30 10:18:26 +02:00
2025-04-30 07:10:56 +10:00
2025-04-28 16:23:13 +07:00
2025-04-30 10:18:26 +02:00
2025-04-30 17:27:57 +02:00
2025-04-30 17:27:57 +02:00
2025-04-30 17:27:57 +02:00
2025-04-30 17:27:59 +02:00
2025-04-30 10:18:28 +02:00
2025-04-30 17:28:00 +02:00
2025-04-28 23:29:17 +00:00
2025-04-25 11:28:36 +00:00
2025-04-30 00:09:21 +00:00
2025-04-29 12:28:22 -04:00
2025-04-30 10:18:26 +02:00
2025-04-30 17:28:00 +02:00
2025-04-28 13:30:45 +02:00
2025-04-28 23:29:17 +00:00
2025-04-30 17:27:58 +02:00
2025-04-26 14:08:58 -07:00
2025-04-29 12:28:24 -04:00
2025-04-29 20:48:51 +10:00
2025-04-26 07:13:07 +02:00
2025-04-30 22:36:40 +02:00
2025-04-28 23:29:15 +00:00
2025-04-28 16:23:13 +07:00
2025-04-30 22:36:39 +02:00
2025-04-28 16:23:13 +07:00
2025-04-29 10:39:54 +00:00
2025-04-30 10:36:03 +03:00
2025-04-28 14:14:26 +00:00
2025-04-28 13:30:45 +02:00
2025-04-29 20:48:51 +10:00
2025-04-25 15:38:58 +00:00
2025-04-30 00:09:21 +00:00
2025-04-28 23:29:17 +00:00
2025-04-29 12:28:22 -04:00
2025-04-28 23:29:17 +00:00
2025-04-29 12:28:22 -04:00
2025-04-29 08:15:23 +02:00
2025-04-30 17:28:02 +02:00
2025-04-30 12:06:14 +02:00
2025-04-29 12:28:22 -04:00
2025-04-29 23:17:31 +00:00