Michael Goulet
24404e6409
Rollup merge of #111670 - compiler-errors:const-param-ty, r=BoxyUwU
...
Require that const param tys implement `ConstParamTy`
1. Require that const param tys implement `ConstParamTy` instead of using `search_for_adt_const_param_violation`
2. Add `StructuralPartialEq` as a supertrait for `ConstParamTy`, since we need to make sure that we derive *both* `PartialEq` and `Eq`
3. Implement `ConstParamTy` for tuples up to 12 (or whatever the default for tuples is)
4. Add some custom diagnostics to `ConstParamTy` errors, to avoid regressions from (1.). It's still not as great as it could be -- will point out inline in comments.
r? `@BoxyUwU`
2023-06-01 23:07:36 -07:00
..
2023-05-24 01:17:38 +02:00
2023-05-24 19:35:59 -03:00
2023-05-28 21:53:56 +00:00
2023-05-18 17:37:08 +05:30
2023-05-31 17:45:45 +00:00
2023-05-29 18:37:53 +02:00
2023-05-24 19:35:59 -03:00
2023-05-30 12:40:35 +02:00
2023-05-30 13:03:40 +02:00
2023-06-01 18:21:42 +00:00
2023-06-01 18:21:42 +00:00
2023-05-26 06:55:06 +10:00
2023-05-21 14:16:41 +02:00
2023-05-31 17:45:45 +00:00
2023-05-26 13:15:15 -04:00
2023-05-29 12:07:41 -03:00
2023-05-18 01:47:55 +00:00
2023-05-21 14:16:41 +02:00
2023-05-24 19:35:59 -03:00
2023-05-24 19:35:59 -03:00
2023-05-21 14:16:41 +02:00
2023-05-30 13:04:25 +02:00
2023-05-21 13:37:32 +02:00
2023-06-01 11:09:43 +05:30
2023-05-27 18:49:07 +08:00
2023-06-01 02:28:31 +08:00
2023-05-16 18:50:26 +02:00
2023-05-29 21:34:16 +02:00
2023-05-21 17:48:36 -07:00
2023-05-29 19:58:11 +03:00
2023-05-31 12:28:38 +02:00
2023-05-25 17:40:46 +00:00
2023-05-31 16:51:25 +00:00
2023-05-24 21:15:50 -03:00
2023-05-31 14:02:57 +00:00
2023-05-26 13:15:15 -04:00
2023-06-01 18:21:42 +00:00
2023-05-29 12:26:27 +08:00
2023-05-24 19:16:07 +00:00
2023-05-21 14:16:41 +02:00
2023-05-29 21:56:10 +00:00
2023-05-21 14:16:41 +02:00
2023-05-27 16:35:16 +02:00
2023-05-28 16:55:21 +08:00
2023-05-31 14:02:57 +00:00
2023-05-21 13:37:32 +02:00
2023-05-26 06:23:03 +00:00
2023-05-27 00:18:28 +02:00
2023-05-24 19:54:13 -03:00
2023-05-21 13:37:32 +02:00
2023-05-27 18:49:07 +08:00
2023-05-21 14:16:41 +02:00
2023-05-22 14:52:52 +01:00
2023-05-21 13:37:32 +02:00
2023-05-22 14:52:52 +01:00
2023-05-21 13:37:32 +02:00
2023-05-23 03:23:52 +00:00
2023-05-21 13:37:32 +02:00
2023-05-29 12:07:41 -03:00
2023-05-31 13:47:36 +00:00
2023-06-01 18:21:42 +00:00
2023-05-24 11:18:20 -05:00
2023-05-26 18:55:02 +01:00
2023-05-26 12:16:30 -05:00
2023-06-01 11:09:43 +05:30
2023-05-21 14:16:41 +02:00
2023-05-16 11:39:39 +02:00
2023-06-01 11:09:43 +05:30
2023-05-30 17:57:37 +08:00
2023-05-26 16:01:29 +01:00
2023-05-18 09:29:48 +08:00
2023-05-24 19:16:07 +00:00
2023-05-18 01:53:01 +00:00
2023-05-23 12:46:25 -04:00
2023-05-16 20:30:48 +00:00
2023-05-24 19:35:59 -03:00
2023-05-27 16:35:16 +02:00
2023-05-21 13:37:32 +02:00
2023-05-21 14:16:41 +02:00
2023-05-21 14:16:41 +02:00