Matthias Krüger
f23c6ddada
Rollup merge of #121416 - veera-sivarajan:bugfix-120785, r=nnethercote
...
Improve error messages for generics with default parameters
Fixes #120785
Issue: Previously, all type parameters with default types were deliberately ignored to simplify error messages. For example, an error message for Box type would display `Box<T>` instead of `Box<T, _>`. But, this resulted in unclear error message when a concrete type was used instead of the default type.
Fix: This PR fixes it by checking if a concrete type is specified after a default type to display the entire type name or the simplified type name.
2024-03-01 17:51:28 +01:00
..
2024-02-28 12:58:32 -05:00
2024-02-21 20:15:52 +01:00
2024-02-29 17:18:40 +01:00
2024-02-27 18:11:23 +00:00
2024-02-29 17:18:40 +01:00
2024-02-29 17:20:04 +01:00
2024-02-29 17:18:40 +01:00
2024-02-28 08:55:35 +11:00
2024-03-01 17:51:28 +01:00
2024-02-29 17:18:40 +01:00
2024-02-28 12:58:32 -05:00
2024-03-01 03:36:11 +00:00
2024-03-01 03:36:11 +00:00
2024-03-01 03:36:11 +00:00
2024-03-01 03:36:11 +00:00
2024-02-24 18:53:48 +03:00
2024-02-29 17:50:23 +11:00
2024-02-25 08:14:52 +01:00
2024-02-15 10:34:41 +00:00
2024-02-29 17:08:38 +01:00
2024-02-29 16:30:12 +11:00
2024-02-29 05:25:27 -05:00
2024-02-29 20:50:03 +01:00
2024-02-29 19:18:41 +00:00
2024-03-01 01:20:49 +00:00
2024-02-22 08:03:47 +11:00
2024-03-01 17:51:28 +01:00
2024-02-28 08:33:25 +11:00
2024-03-01 03:36:11 +00:00
2024-02-29 17:20:04 +01:00
2024-02-26 16:06:02 +01:00
2024-02-28 08:55:35 +11:00
2024-02-28 08:55:37 +11:00
2024-03-01 17:51:28 +01:00
2024-03-01 03:36:11 +00:00
2024-02-16 09:53:01 +00:00
2024-02-29 14:33:50 +01:00
2024-02-28 08:55:35 +11:00
2024-02-26 10:17:43 +01:00
2024-02-29 20:50:02 +01:00
2024-02-17 12:46:18 +01:00
2024-02-29 17:08:38 +01:00
2024-03-01 03:36:11 +00:00
2024-02-29 11:08:29 +11:00
2024-02-28 08:33:25 +11:00
2024-02-29 11:08:27 +11:00
2024-02-29 14:33:53 +01:00
2024-02-29 17:08:38 +01:00
2024-02-28 12:58:32 -05:00
2024-03-01 03:36:11 +00:00
2024-03-01 03:36:11 +00:00
2024-03-01 03:36:11 +00:00
2024-03-01 10:30:42 +00:00
2024-02-20 17:30:49 +01:00
2024-02-27 16:22:32 +00:00
2024-02-28 12:58:32 -05:00
2024-03-01 03:36:11 +00:00
2024-02-25 08:14:52 +01:00