Files
rust/tests/ui/issues
León Orell Valerian Liehr 879f62bb3c Reword diagnostic about relaxing non-Sized bound
* The phrasing "only does something for" made sense back when this
  diagnostic was a (hard) warning. Now however, it's simply a hard
  error and thus completely rules out "doing something".
* The primary message was way too long
* The new wording more closely mirrors the wording we use for applying
  other bound modifiers (like `const` and `async`) to incompatible
  traits.
* "all other traits are not bound by default" is no longer accurate
  under Sized Hierarchy. E.g., traits and assoc tys are (currently)
  bounded by `MetaSized` by default but can't be relaxed using
  `?MetaSized` (instead, you relax it by adding `PointeeSized`).
* I've decided against adding any diagnositic notes or suggestions
  for now like "trait `Trait` can't be relaxed as it's not bound by
  default" which would be incorrect for `MetaSized` and assoc tys
  as mentioned above) or "consider changing `?MetaSized` to
  `PointeeSized`" as the Sized Hierarchy impl is still WIP)
2025-07-18 12:13:30 +02:00
..
2024-02-07 10:42:01 +08:00
2024-01-05 10:00:59 +00:00
2025-07-07 08:13:12 +00:00
2024-02-07 10:42:01 +08:00
2024-02-07 10:42:01 +08:00
2025-04-03 21:41:58 +00:00
2025-06-13 01:16:36 +02:00
2025-04-03 21:41:58 +00:00
2025-06-06 20:52:34 +00:00
2025-02-04 10:57:49 +00:00
2025-02-03 19:00:22 +00:00
2024-02-07 10:42:01 +08:00
2024-01-13 12:46:58 -05:00
2024-07-06 14:24:20 +02:00
2023-05-01 16:15:13 +08:00
2024-02-07 10:42:01 +08:00
2023-11-16 17:00:23 +00:00
2023-04-08 21:32:55 +00:00
2024-01-05 10:00:59 +00:00
2024-01-13 12:46:58 -05:00
2023-11-16 17:00:23 +00:00
2024-02-07 10:42:01 +08:00
2024-07-10 17:15:02 -04:00
2024-07-10 17:15:02 -04:00
2024-04-29 14:53:38 +02:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2024-11-22 02:32:26 +00:00
2024-11-22 02:32:26 +00:00
2023-06-26 08:56:32 +00:00
2023-11-24 21:04:51 +01:00
2024-04-22 18:48:47 +02:00